<p>As Craft defaults to only returning 100 elements, setting the <code>limit(null)</code> parameter to the query fixed this issue.</p>

<pre><code>{% set locations = craft.users.group('fullMembership').limit(null) %}
</code></pre>

CC BY-SA 3.0
2016-01-05T17:18:39.667Z
2016-01-05T17:18:39.667Z
Adam Menczykowski
<p>My map isn't showing all of the markers that it should. I am querying a user group to return the locations as follows:</p>

<pre><code>{% set locations = craft.users.group('fullMembership') %} {{ craft.smartMap.map(locations, options) }}  
</code></pre>

<p>FYI There are around 400 users in this group and only a small amount of them have logged in and set their Map Pin. </p>

<p>Each user in this group has a profile page; Those user who have located their address  all show their map pin on their profile. However the members Directory index map is incomplete, some pins are missing.</p>

CC BY-SA 3.0
2016-01-05T17:10:26.840Z
It seems that any new users that I update with their lat / lng aren't added to the directory map.
Adam Menczykowski
<plugin-smartmap>
Smart Map Lat+Lng is present but no pin on map
# Smart Map Lat+Lng is present but no pin on map

(Asked by: username_0 on 2016-01-05)

My map isn't showing all of the markers that it should. I am querying a user group to return the locations as follows:
{% set locations = craft.users.group('fullMembership') %} {{ craft.smartMap.map(locations, options) }}  

FYI There are around 400 users in this group and only a small amount of them have logged in and set their Map Pin. 
Each user in this group has a profile page; Those user who have located their address  all show their map pin on their profile. However the members Directory index map is incomplete, some pins are missing.

**Tags:** plugin-smartmap
> **Comments:**
> **username_0**: It seems that any new users that I update with their lat / lng aren't added to the directory map.  

---

## 1 answers

### Answer by username_0 on 2016-01-05. Score: 2

As Craft defaults to only returning 100 elements, setting the limit(null) parameter to the query fixed this issue.
{% set locations = craft.users.group('fullMembership').limit(null) %}


---

