-
Zh GoogleMap
-
Component
-
Negative Latitude in custom map Get Tile URL Function
Negative Latitude in custom map Get Tile URL Function
-
Sigmund
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 28
-
Thank you received: 0
-
-
5 years 9 months ago #11758
by Sigmund
Hi.
I have a custom map where i through the "Get Tile URL Function" gets tiles in the format of /zoom/coord.x_coord.y/. This is working very well except for an issue where all tiles with a negative latitude (coord.x) aint showing up. Negative longitude (coord.y) works as intended so i wonder if the "Get Tile URL Function" cant handle the negative tiles or if there is something else that is preventing the tiles from showing.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 9 months ago #11759
by Dima
Hi.
I think all will be OK with negative coordinates.
But for map tiles - if you create with some program - it creates your Get Tile Function, check what it create and what you enter into function.
If it doesn't work - give direct link to your page and I'll check what you have and what you get from this function.
I think step by step we'll fix your problem.
Please Log in or Create an account to join the conversation.
-
Sigmund
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 28
-
Thank you received: 0
-
-
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 9 months ago #11761
by Dima
Hi.
If you compare maps - you'll see
- your map have simple GetTile function without using projection
- main map - use it
If I find a few free minutes, I can try to reate map type and tell you what you need to do
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 9 months ago #11762
by Dima
Hi.
Finally I got it.
I did it as simple, and as with projection.
You just set in component options API version to 3.23
I don't know what the difference, but if you use current stable version (value set to 3 or empty), it shows only right part of map.
Please Log in or Create an account to join the conversation.
-
Sigmund
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 28
-
Thank you received: 0
-
-
5 years 9 months ago #11763
by Sigmund
Thanks alot!
That was a fix i would not have managed to find myself.
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Negative Latitude in custom map Get Tile URL Function
Time to create page: 0.146 seconds