Reply To: Map defaults to different geolocation

Home Forums MapPress Support Map defaults to different geolocation Reply To: Map defaults to different geolocation

#19457
morten
Participant

Hi,

Deleting coordinates and reentering them in UI will not fix the issue. Only way is a workaround I do not want – creating a new map/ID and update all the posts using this one.

What causes this, and how to fix it?

This is what’s in the database for the problem mapid:

“O:12:”Mappress_Map”:11:{s:5:”mapid”;s:3:”438″;s:6:”center”;a:2:{s:3:”lat”;d:54.0204685;s:3:”lng”;d:12.5635314;}s:6:”height”;N;s:9:”mapTypeId”;N;s:7:”metaKey”;N;s:4:”pois”;a:1:{i:0;O:12:”Mappress_Poi”:10:{s:7:”address”;N;s:4:”body”;s:34:”<p>Haghier Mountains, Socotra</p>
“;s:16:”correctedAddress”;N;s:6:”iconid”;N;s:5:”point”;a:2:{s:3:”lat”;d:12.5758466667;s:3:”lng”;d:54.02833;}s:4:”poly”;N;s:3:”kml”;N;s:5:”title”;s:23:”12.5758466667, 54.02833″;s:4:”type”;N;s:8:”viewport”;N;}}s:6:”search”;N;s:6:”status”;N;s:5:”title”;s:26:”Haghier mountains, Socotra”;s:5:”width”;N;s:4:”zoom”;i:12;}”

When creating a new map that is working correctly it looks like this:

O:12:”Mappress_Map”:11:{s:5:”mapid”;N;s:6:”center”;N;s:6:”height”;N;s:9:”mapTypeId”;N;s:7:”metaKey”;N;s:4:”pois”;a:1:{i:0;O:12:”Mappress_Poi”:10:{s:7:”address”;N;s:4:”body”;s:0:””;s:16:”correctedAddress”;N;s:6:”iconid”;N;s:5:”point”;a:2:{s:3:”lat”;d:12.5758466667;s:3:”lng”;d:54.02833;}s:4:”poly”;N;s:3:”kml”;N;s:5:”title”;s:23:”12.5758466667, 54.02833″;s:4:”type”;N;s:8:”viewport”;N;}}s:6:”search”;N;s:6:”status”;N;s:5:”title”;s:26:”Haghier Mountains, Socotra”;s:5:”width”;N;s:4:”zoom”;N;}