rocknbil Reply #1, 1 year, 8 months ago
Working with a client using 1.0.0 (I know, needs upgrade.)
Task: On the locations page, there are four territories, call them N/S/E/W, folded up in an accordion heading. Create a single Google Map below the folded up headings that shows markers for **all** locations.
Each section grabs the territories using Ditto (Surrounding HTML removed for demonstration):
(N)
(S)
(E)
(W)
I have found this snippet
Which appears to support multiple addresses. The question, I think, is how to I get the addresses from Ditto to the address fields in the Google Map Snippet?
Or is there a better snippet? Done some searching . . . only thung that comes up is a sample for Yahoo maps, they specifically want Google Maps.
I also found this one
that requires geocoordinates, but I already have the addresses in hand and don't want to chase down coordinates for every address. Going to start banging something together to see if I can get ti to fly, but would appreciate pointers from anyone who's done it before.
Task: On the locations page, there are four territories, call them N/S/E/W, folded up in an accordion heading. Create a single Google Map below the folded up headings that shows markers for **all** locations.
Each section grabs the territories using Ditto (Surrounding HTML removed for demonstration):
(N)
(S)
(E)
(W)
I have found this snippet
Which appears to support multiple addresses. The question, I think, is how to I get the addresses from Ditto to the address fields in the Google Map Snippet?
Or is there a better snippet? Done some searching . . . only thung that comes up is a sample for Yahoo maps, they specifically want Google Maps.
I also found this one
that requires geocoordinates, but I already have the addresses in hand and don't want to chase down coordinates for every address. Going to start banging something together to see if I can get ti to fly, but would appreciate pointers from anyone who's done it before.