DMXzone Google Maps 2 Support Product Page

Implemented

Dynamic Map Markers

Shared 04 Dec 2014 15:32:22
1
likes this idea
04 Dec 2014 15:32:22 Baub Eis posted:
It would be very very awesome if the map markers could be dynamic! Thanks for the consideration.

Replies

Replied 10 Dec 2014 08:44:33
10 Dec 2014 08:44:33 George Petrov replied:
Hi Baub,

Actually the markers are already dynamic ... you can fetch them from any HTML5 Data Bindings source or old fashion recordsets ...

Or do you mean something else by dynamic?

Greetings,
George

Replied 10 Dec 2014 17:05:59
10 Dec 2014 17:05:59 Baub Eis replied:
Thanks for the reply George. What I mean is I have a database with different businesses. Some are food, some are entertainment, some are tickets sales,etc. So when I am placing the markers on the map, I want each category to have a different marker icon image on the map. In the database, I created a field with a filename of the marker image. So the marker graphic doesn’t have a dynamic choice in the extension. I have tried to manually replace the icon image in the code with something similar to {{icon}} but when it does it doesn’t show any markers on the map. The console output shows something like

GET www.shopmilitarydiscounts.com/%7B%7Bicon%7D%7D 404 (Not Found)

It doesn’t seem to parse the {{icon}} correctly.

Thanks for any help
Baub
Replied 19 Dec 2014 17:43:11
19 Dec 2014 17:43:11 Teodor Kuduschiev replied:
Hi Baub,
Please update to the latest version. Now you can use {{icon}} in order to have dynamic marker icons

Reply to this topic