Topic: Example of how to change URL on snazzy maps

hear is a Url from snazzy

//https://maps.googleapis.com/maps/vt?pb=!1m5!1m4!1i18!2i41909!3i92023!4i256!2m3!1e0!2sm!3i355025225!3m14!2sen-US!3sUS!5e18!12m1!1e47!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcy50OjF8cC5oOiMzYTM5MzV8cC5zOjV8cC5sOi01N3xwLnY6b2ZmLHMudDoxOHxwLmg6I2ZmZmZmZnxwLmw6MTAwfHAudjpzaW1wbGlmaWVkLHMudDoxOXxzLmU6bHxwLmg6I2ZmZmZmZnxwLmw6MTAwfHAudjpvZmYscy50OjIwfHAuaDojZmZmZmZmfHAubDoxMDB8cC52Om9mZixzLnQ6MjF8cC5oOiNmZmZmZmZ8cC5sOjEwMHxwLnY6b2ZmLHMudDo1fHMuZTpnfHAuaDojYjdjYWFhfHAuczotMTR8cC5sOi0xOHxwLnY6b24scy50OjgxfHAuaDojNjZmZjAwfHAuczowfHAubDotOXxwLnY6b24scy50OjgxfHMuZTpnLmZ8cC5zOjYscy50OjgxfHMuZTpnLnN8cC5zOi01OHxwLnc6MS4zOXxwLmw6LTZ8cC5jOiNmZmZmZmZmZixzLnQ6MnxwLnY6b2ZmLHMudDoyfHMuZTpnfHAuaDojYzE3MTE4fHAuczo2MXxwLmw6LTQ1fHAudjpvbixzLnQ6MzZ8cy5lOmd8cC5oOiNmZmNiMDB8cC5zOjUwfHAubDotNDZ8cC52Om9mZixzLnQ6NDB8cC5oOiM2Y2ZmMDB8cC52Om9mZixzLnQ6MzV8cC52Om9mZixzLnQ6M3xzLmU6Z3xwLmg6IzhkOWI4M3xwLnM6LTg5fHAubDotMTJ8cC52Om9uLHMudDo0OXxzLmU6Z3xwLmg6I2Q0ZGFkMHxwLnM6LTg4fHAubDo1NHxwLnY6c2ltcGxpZmllZCxzLnQ6NTB8cy5lOmd8cC5oOiM3N2ZmMDB8cC5zOi04OXxwLmw6LTN8cC52OnNpbXBsaWZpZWR8cC5nOjEuMzkscy50OjUwfHMuZTpnLmZ8cC5sOjEwMHxwLnc6OS45OHxwLnM6NDJ8cC5nOjMuNTh8cC52Om9uLHMudDo1MHxzLmU6Zy5zfHAudzo1Ljc2fHAubDo1MnxwLnM6ODN8cC5nOjQuNTF8cC5jOiNmZmM4Yzk3OXxwLnY6b24scy50OjUxfHMuZTpnfHAuaDojNzdmZjAwfHAuczotODl8cC5sOjI3fHAudjpvbnxwLnc6My4yNyxzLnQ6NTF8cy5lOmcuZnxwLnc6MTAuMDB8cC5sOjM2fHAuczo0OHxwLmc6My40MixzLnQ6NHxzLmU6Z3xwLmg6I2E0MzIxOHxwLnM6NzR8cC5sOi01MXxwLnY6c2ltcGxpZmllZCxzLnQ6NnxzLmU6Z3xwLmg6IzE2NWM2NHxwLnM6MzR8cC5sOi02OXxwLnY6b24!4e0&token=49190" draggable="false" alt="" style="position: absolute; left: 0px; top: 0px; width: 256px; height: 256px; -webkit-user-select: none; border: 0px; padding: 0px; margin: 0px; max-width: none;">//

Can you give a example in red part you change as i know on instructions says In the «URL» replace «!1iX!2iX!3iX», to «! 1i{zoom}!2i{x}!3i{y}». but it seems unclear to me were the part i'm changing ends just highlighting part in red would be great. And once again thank you for your support of your product.

Re: Example of how to change URL on snazzy maps

Hello.

URL:
https://maps.googleapis.com/maps/vt?pb= … nY6b24!4e0

Recently at the end of url appeared «&token=49190».
This should be removed too.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

3 (edited by tom.timothy 2016-07-20 02:09:25)

Re: Example of how to change URL on snazzy maps

I am sorry not following still unclear how i modify it i get your saying for first part should be like https://maps.googleapis.com/maps/vt?pb=! 1i{zoom}!2i{x}!3i{y}nY but i don't know what the amp token is to remove at end

Im guess everything after &amp but this is still not working

Re: Example of how to change URL on snazzy maps

Original url contains «!1i18!2i41909!3i92023».
It should be replaced to «!1i{zoom}!2i{x}!3i{y}».

«&token=49190» is also a problem, so I pointed it.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Example of how to change URL on snazzy maps

I now have https://maps.googleapis.com/maps/vt?pb=!1i{zoom}!2i{x}!3i{y}!4i256!2m3!1e0!2sm!3i355025225!3m14!2sen-US!3sUS!5e18!12m1!1e47!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcy50OjF8cC5oOiMzYTM5MzV8cC5zOjV8cC5sOi01N3xwLnY6b2ZmLHMudDoxOHxwLmg6I2ZmZmZmZnxwLmw6MTAwfHAudjpzaW1wbGlmaWVkLHMudDoxOXxzLmU6bHxwLmg6I2ZmZmZmZnxwLmw6MTAwfHAudjpvZmYscy50OjIwfHAuaDojZmZmZmZmfHAubDoxMDB8cC52Om9mZixzLnQ6MjF8cC5oOiNmZmZmZmZ8cC5sOjEwMHxwLnY6b2ZmLHMudDo1fHMuZTpnfHAuaDojYjdjYWFhfHAuczotMTR8cC5sOi0xOHxwLnY6b24scy50OjgxfHAuaDojNjZmZjAwfHAuczowfHAubDotOXxwLnY6b24scy50OjgxfHMuZTpnLmZ8cC5zOjYscy50OjgxfHMuZTpnLnN8cC5zOi01OHxwLnc6MS4zOXxwLmw6LTZ8cC5jOiNmZmZmZmZmZixzLnQ6MnxwLnY6b2ZmLHMudDoyfHMuZTpnfHAuaDojYzE3MTE4fHAuczo2MXxwLmw6LTQ1fHAudjpvbixzLnQ6MzZ8cy5lOmd8cC5oOiNmZmNiMDB8cC5zOjUwfHAubDotNDZ8cC52Om9mZixzLnQ6NDB8cC5oOiM2Y2ZmMDB8cC52Om9mZixzLnQ6MzV8cC52Om9mZixzLnQ6M3xzLmU6Z3xwLmg6IzhkOWI4M3xwLnM6LTg5fHAubDotMTJ8cC52Om9uLHMudDo0OXxzLmU6Z3xwLmg6I2Q0ZGFkMHxwLnM6LTg4fHAubDo1NHxwLnY6c2ltcGxpZmllZCxzLnQ6NTB8cy5lOmd8cC5oOiM3N2ZmMDB8cC5zOi04OXxwLmw6LTN8cC52OnNpbXBsaWZpZWR8cC5nOjEuMzkscy50OjUwfHMuZTpnLmZ8cC5sOjEwMHxwLnc6OS45OHxwLnM6NDJ8cC5nOjMuNTh8cC52Om9uLHMudDo1MHxzLmU6Zy5zfHAudzo1Ljc2fHAubDo1MnxwLnM6ODN8cC5nOjQuNTF8cC5jOiNmZmM4Yzk3OXxwLnY6b24scy50OjUxfHMuZTpnfHAuaDojNzdmZjAwfHAuczotODl8cC5sOjI3fHAudjpvbnxwLnc6My4yNyxzLnQ6NTF8cy5lOmcuZnxwLnc6MTAuMDB8cC5sOjM2fHAuczo0OHxwLmc6My40MixzLnQ6NHxzLmU6Z3xwLmg6I2E0MzIxOHxwLnM6NzR8cC5sOi01MXxwLnY6c2ltcGxpZmllZCxzLnQ6NnxzLmU6Z3xwLmg6IzE2NWM2NHxwLnM6MzR8cC5sOi02OXxwLnY6b24!4e0" draggable="false" alt="" style="position: absolute; left: 0px; top: 0px; width: 256px; height: 256px; -webkit-user-select: none; border: 0px; padding: 0px; margin: 0px; max-width: none;">                 


This is still not working

Re: Example of how to change URL on snazzy maps

1. You lost the first part after «pb=».
2. URL must end at «!4e0» (inclusive).
draggable and next - it's html tags that are not relevant to the url.

You can just copy the url from post #2, and use it. This is the correct url.
Or if you want to understand how to do this url, you can put it near your url, and compare them.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

7 (edited by bryancho31 2016-07-22 19:54:06)

Re: Example of how to change URL on snazzy maps

Hi Alex, thanks for Online map asset!

1. I use custom tileset map with snazzy and everything is ok on my macbook.
but, it just shows basic map even if I changed style and built for my phone.
please advise how i can fix this problem..

** macbook pro, iPhone6, Unity5.3.5f1, xcode 7.3.1
** using custom tileset with snazzy, 3d marker, location service, marker 3d GPS, rotate camera by gps
    detect water, find places
** tried to change styles
https://snazzymaps.com/style/23675/pixmix

2. Can I get any instruction how i can setting for Google places api with "FindPlacesExample" ?

3. I'd like to make below.. Can I get information of markers from other DB and show on tileset map ? or Any idea?
After save the data of markers info (coords, name) on my DB, loading random markers on the phone from my DB
like to get the positions of monsters, items whatever.

Post's attachments

Attachment icon on-macbook-before-publish.jpg 252.76 kb, 111 downloads since 2016-07-22