[OpenLayers-Users] zooming

Peter pfischer at proveo.com
Thu Mar 15 07:22:45 EDT 2012


Hey all,

i have some some features wich open a popup when selected. but sometimes the
features are so concentrated on one point i am only able to select the
feature on the top. So my idea was to zoom more in see the different
features.

  http://osgeo-org.1560.n6.nabble.com/file/n4620907/ZoomingScreen.png 

and my Map looks like:

//Initialize Map
		  	map = new OpenLayers.Map('map', {
		  			resolutions: [162158.54380859376,
			                      81079.27190429688,
			                      40539.63595214844,
			                      20269.81797607422,
			                      10134.90898803711,
			                      5067.454494018555,     
			                      2533.7272470092776,
			                      1266.8636235046388,
			                      633.4318117523194,
			                      316.7159058761597,
			                      158.35795293807985,
			                      79.17897646903992,
			                      39.58948823451996,
			                      19.79474411725998,
			                      9.89737205862999, 
			                      4.948686029314995,
			                      2.4743430146574976,
			                      1.2371715073287488,
			                      0.6185857536643744,
			                      0.3092928768321872,
			                      0.1546464384160936, 
			                      0.0773232192080468,
			                      0.0386616096040234,
			                      0.0193308048020117,
			                      0.00966540240100585],
		  		    maxExtent: new OpenLayers.Bounds(-2.0037508343E7,-2.1475245049E7,
		  											2.1475078872000005E7,2.0037342166000005E7),
		  		    projection: new OpenLayers.Projection('EPSG:900913'),
		  		    displayProjection: new OpenLayers.Projection("EPSG:4326"),
		  		    controls: controls});

So any ideas how i can increase the zoomLevel?

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/zooming-tp4620907p4620907.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list