Questions tagged [plugin-smartmap]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
693 views

Filter locations by country in Smart Map

I'm using Smart Map to find locations ordered by distance. But I can only set 3 parameters: target, range and units. However, when my range goes beyond the country borders I obviously get results in ...
  • 1,456
4 votes
2 answers
2k views

How do you auto zoom/center Smart Map with multiple markers?

How can I auto center and zoom my Smart Map with multiple markers? Something like this: var bounds = new smartMap.map.LatLngBounds(); smartMap.map.fitBounds(bounds);
4 votes
1 answer
684 views

Modify ElementCriteria and use it for paginate

First some context. I'm using Smart Map for Craft to display some location based events in a listing. My structure is as follows: Events channel Locations channel Each event can occur multiple times,...
  • 137
1 vote
1 answer
103 views

Trigger Info window in Smart Map using external navigation

I would like to trigger an info window in Smart Map using a navigation that lives beside the map. I've managed to figure out how to use the zoomOnMarker function, however, the info window does not pop ...
2 votes
1 answer
197 views

Getting unique values from Smart Map addresses

Using the following filter will return all the entries for 'CA'. {% set params = { filter: { state: 'CA' } } %} {% set meetings = craft.entries.address(params) %} Let's say that I ...