lity icon indicating copy to clipboard operation
lity copied to clipboard

Google Map URL Format

Open anmamtl opened this issue 8 years ago • 5 comments
trafficstars

Hello!

I've been trying to understand what format I had to have for the google map to show. I tried many urls types, all from the google map site (embed, url, short link...) but it doesn't seem to work. Could you point me to the right direction?

Thank you ;)

anmamtl avatar Jul 13 '17 15:07 anmamtl

Yes, Lity supports the kinda old format, see https://github.com/jsor/lity/blob/master/test/functional/uri.html#L122

I need to update the Google Maps URL handling to also support the current structure.

jsor avatar Jul 14 '17 21:07 jsor

Hey there ;)

Any updates on this? Im never able to find the right URL to put :/

Thanks a lot!

elisafern12 avatar Mar 01 '18 19:03 elisafern12

I'm not able to work on this at the moment. But it's still on the todo list.

jsor avatar Mar 02 '18 08:03 jsor

Ok, I understand - but do you know how I can generate the old URL somewhere or what is the structure?

Thanks!

elisafern12 avatar Mar 02 '18 18:03 elisafern12

Go to Google Maps and search your location. Check the current URL format:

[…]/maps/place/1600+Amphitheatre+Pkwy,+Mountain+View,+CA+94043,+USA/@37.4216946,-122.0854278,17z/[…]

Simply copy that bold part and create your lity URL like that:

[…]/maps?q=1600+Amphitheatre+Pkwy,+Mountain+View,+CA+94043,+USA

bitpunk avatar Jun 05 '18 20:06 bitpunk