Maptype depend of zoomlevel

  • endersa
  • endersa's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
5 years 6 months ago #1269 by endersa
endersa created the topic: Maptype depend of zoomlevel
Hi,

It would be nice to create a Map which, depending on the scale a Map type shows.
For example, from zoom level 2 to 8, a Map of the type Terrain Map and from zoom level 8 and above a Map of the type Road Map.
Is that possible?

Regards,
Anthonie.

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #1279 by Dima
Dima replied the topic: Maptype depend of zoomlevel
Hi Anthonie
It is possible, but it is a little difficult to save your zoom and map definition in database in convenient way to use.
In another words, you should define pairs - zoom and map_type. But how it store and use user friendly way.

For example: text field, and pairs
2-TERRAIN;8-ROADMAP
which will converted to
..2 - TERRAIN type
3..8 - ROADMAP type
9.. - DEFAULT type for map

Any suggestions :)

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds

Donate


Go to top