DMXzone Google Maps Support Product Page

Solved

Dynamic map shows wrong locations

Reported 16 Apr 2014 19:24:23
1
has this problem
16 Apr 2014 19:24:23 Ed Stewart posted:
I have a dynamic map that used to work correctly, but lately some of the pinpoints have been migrating around the country. These inaccurate pinpoints display correctly from www.google.com/maps, but are in the wrong locations on my website with your extension.

As a test, I created a 2nd page, hard-coding the addresses into the DMXZone Google Maps window. This static map correctly positions the pinpoints.

Dynamic Map: www.lifespringhomecare.com/Locations/default_dyn.asp

Static Map: www.lifespringhomecare.com/Locations/default.asp

Replies

Replied 27 May 2014 18:47:52
27 May 2014 18:47:52 Ed Stewart replied:
Hello? Anybody home?
Replied 28 May 2014 09:21:49
28 May 2014 09:21:49 Teodor Kuduschiev replied:
Hi Ed,
I am not sure i understand your issue. The map shows exactly what is returned as addresses from your database.
Replied 28 May 2014 12:14:29
28 May 2014 12:14:29 Ed Stewart replied:
No, it does not. The pinpoint near Phoenix, AZ is supposed to be Stephenville, TX, and the point near Wichita Falls, TX is supposed to be Oklahoma City, OK.
Replied 28 May 2014 12:29:46
28 May 2014 12:29:46 Teodor Kuduschiev replied:
Well your addresses have some unescaped html chars that are breaking it. For example:
"address": "2301-B W. South Loop<br>Stephenville, TX 76401"
should be
{"address": "2301-B W. South Loop Stephenville, TX 76401" -> without this <br> there..
Replied 28 May 2014 15:48:55
28 May 2014 15:48:55 Ed Stewart replied:
You are correct; that was the issue. Thank you.

Reply to this topic