Questions tagged [plugin-smartmap]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
704 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 ...
Tom De Smet's user avatar
  • 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);
Johannes Lamers's user avatar
4 votes
1 answer
690 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,...
ctigelaar's user avatar
  • 137
2 votes
1 answer
220 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 ...
Eric Snyder's user avatar
1 vote
1 answer
110 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 ...
Vaughn D. Taylor's user avatar