Hi,
I have made a private map for my friends and now, as it's getting bigger, I would like to be able to zoom in and out. Sadly I can't. Of course I have changed default zoom, minzoom and maxzoom but it didn't help. As I was looking at the code I figured out that it's probably written in the way that makes zoom impossible. Does anyone know what to add/remove to make zoom possible?
Ender Client map.html zooming problem
Moderator: Phades
-
sabinati
- Posts: 15527
- Joined: Mon Jul 13, 2009 4:25 am
- Location: View active topics
Re: Ender Client map.html zooming problem
you need to have images for different zoom levels.
-
Hayaku
- Posts: 3
- Joined: Sat Mar 26, 2011 1:55 pm
Re: Ender Client map.html zooming problem
Ok, I get it but I have an idea.
This piece of code:
tileSize: new google.maps.Size(100, 100),
When I change 100 to 200 I get tiles 2x bigger. Is that possible to make zoom just change the tile size or add 2 buttons that will change tile size?
This piece of code:
tileSize: new google.maps.Size(100, 100),
When I change 100 to 200 I get tiles 2x bigger. Is that possible to make zoom just change the tile size or add 2 buttons that will change tile size?
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Ender Client map.html zooming problem
viewtopic.php?f=27&t=20255
viewtopic.php?f=27&t=31310
if you use soos mapmerger3.1 and Tav's tilecreator you'll get good zoomable local maps - only flaw is that you still need to share the whole folder unless you make screenshots of zoomed in maps
viewtopic.php?f=27&t=31310
if you use soos mapmerger3.1 and Tav's tilecreator you'll get good zoomable local maps - only flaw is that you still need to share the whole folder unless you make screenshots of zoomed in maps
-
Hayaku
- Posts: 3
- Joined: Sat Mar 26, 2011 1:55 pm
Re: Ender Client map.html zooming problem
Big thanks, it worked but I didn't mention that I also would like to zoom in (Tav's program connected 4 tiles into one and I want also an original tile to be splitted to 4 etc.). Now I also have a big map made by salem map tool and I thought that I could just make it zoomable but it's suprisingly hard (at least for me) to find some way to make it zoomable similar to windows style (I can zoom in and count pixels). Probably it will be easier to find some script that will make this possible than to write a program that will split tiles. Any ideas?borka wrote:viewtopic.php?f=27&t=20255
viewtopic.php?f=27&t=31310
if you use soos mapmerger3.1 and Tav's tilecreator you'll get good zoomable local maps - only flaw is that you still need to share the whole folder unless you make screenshots of zoomed in maps
-
Grable
- Posts: 885
- Joined: Mon Feb 14, 2011 8:03 am
Re: Ender Client map.html zooming problem
I'm using Tav's python script to make a zoomable map, but it only displays a part of the map - a supergrid and a third of the other one - should be 4 supergrids to be exact. Anyone have any idea what could be causing this?
I used the Salem map merger and the map is merged fine.
I used the Salem map merger and the map is merged fine.
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Ender Client map.html zooming problem
change mapsize to 360 in tav's .py ?!?
-
Grable
- Posts: 885
- Joined: Mon Feb 14, 2011 8:03 am
Re: Ender Client map.html zooming problem
Thanks, will try.borka wrote:change mapsize to 360 in tav's .py ?!?
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Ender Client map.html zooming problem
tell if it works pls
-
Grable
- Posts: 885
- Joined: Mon Feb 14, 2011 8:03 am
Re: Ender Client map.html zooming problem
It worked. Thanks borka.borka wrote:tell if it works pls