New Google maps pricing policy and MB geolocation
Support › MB Geolocation › New Google maps pricing policy and MB geolocationResolved
- This topic has 25 replies, 4 voices, and was last updated 6 years, 8 months ago by
Anh Tran.
-
AuthorPosts
-
July 18, 2018 at 11:31 AM #10608
Anh Tran
KeymasterHi Michele,
Thanks a lot for your feedback!
- No results message: I've just added it to both
osm
andmap
field. - Output the map: I've fixed it.
- Geolocation extension: I couldn't find the bug on line 73. There is a check
isset
on line 72. Maybe I'm missing something.
One note: The Geolocation extension has not been updated to use OSM yet. It still uses the Google Maps API. Only the core Meta Box plugin with
osm
field use the new OSM. I'll update the Geolocation later if everything goes well withosm
field.July 18, 2018 at 7:37 PM #10621poehnix
ParticipantHi Ahn,
I can confirm that now osm map displays perfectly in the frontend.The "no address found" message in the backend does not still display. I have updated meta-box to the latest github release and disabled the geolocation plugin. I have cleared the browser cache too.
When I write an (unknown to OSM) address and click on the "find address" button nothing happens on the map.
Looking at the javascript console I see the ajax request to nominatinm.openstreetmap.org and the response. The response is empty. Where should the message appear? I guess near the address field...
Trying the same address directly in the https://nominatim.openstreetmap.org/ input search reset the map to the whole world.On a side note, due to office relocation I will only be able to proceed with the tests in a couple of days
Thank you
MicheleJuly 20, 2018 at 3:51 PM #10636Anh Tran
KeymasterHi Michele,
The "No address found" message is shown in the autocomplete popup, just like this:
https://i.imgur.com/iLAapwO.png
I've just tested again and it show correctly to me. Perhaps you should try again?
July 20, 2018 at 4:18 PM #10640poehnix
ParticipantNo idea of what's wrong. I am doing some js debugging but I cannot see the value result variable.
Possibly due to the fact that RWMB_Osm.no_results_string is set on line 145 but not on line 190 where there is just a return ?
With a non existent address "XXXXXXXX", clicking on find address does nothing (it correctly does not move the pin on the map but it does not show the message)I am attaching an image too https://imgur.com/sKLkrc7
I am testing it on Firefox, now I will try with Chrome,
Any clue of what is going wrong ?
Thank you
Michele
}July 20, 2018 at 4:25 PM #10642poehnix
ParticipantOh too bad! On my testing enviroment I had re-enabled the geolocation plugin!!! I did not find it because I was seeing the ajax queries to nominatim!
Sorry, my mistake. On chrome I got I message that lead me to find the problem.
I confirm the "no message found" is showing correctly
Thank you very much Ahn, and sorry for the trouble
MicheleJuly 20, 2018 at 4:33 PM #10643Anh Tran
KeymasterCool! That's enough for an update 🙂
July 31, 2018 at 7:00 PM #10801david.h
ParticipantAnh,
Rather than post here, I sent you an email about this last week - did you get it?
August 1, 2018 at 9:51 AM #10819Anh Tran
KeymasterHi David, I received it. I'll answer you soon.
August 15, 2018 at 10:24 AM #11010Nick
ParticipantIs OSM compatible with Builder? I'm not seeing an OSM field. Thanks!
August 16, 2018 at 2:24 PM #11021Anh Tran
KeymasterIt's not been added to the Builder yet. We'll update the Builder soon.
August 21, 2018 at 12:06 PM #11078Anh Tran
Keymaster - No results message: I've just added it to both
-
AuthorPosts
- You must be logged in to reply to this topic.