Re: [OpenLayers-Users] Zoom to dinamic WMS Layer

2010-07-23 Thread Arnd Wippermann
Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Gilberto Ramos Gesendet: Freitag, 23. Juli 2010 15:20 An: users@openlayers.org Betreff: [OpenLayers-Users] Zoom to dinamic WMS Layer Hi people, how are you doing? I'm having troubles to find

Re: [OpenLayers-Users] Zoom to point given feature ID by GET

2010-07-01 Thread giraam
Thank you very much!! =) Nice solution! I managed to do it this way: function gup(name){ name = name.replace(/[\[]/,\\\[).replace(/[\]]/,\\\]); var regexS = [\\?]+name+=([^#]*); var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results

[OpenLayers-Users] Zoom to point given feature ID by GET

2010-06-30 Thread giraam
Hi folks! I want to know if it's possible to zoom to a point, I mean, i.e.: setCenter(point, 2) but having the feature ID at the URL... This is just on the first load..! Any idea? Thanks! - just another web developer -- View this message in context:

Re: [OpenLayers-Users] Zoom to point given feature ID by GET

2010-06-30 Thread Arnd Wippermann
...@openlayers.org] Im Auftrag von giraam Gesendet: Mittwoch, 30. Juni 2010 15:15 An: users@openlayers.org Betreff: [OpenLayers-Users] Zoom to point given feature ID by GET Hi folks! I want to know if it's possible to zoom to a point, I mean, i.e.: setCenter(point, 2) but having the feature ID

[OpenLayers-Users] Zoom to point given feature ID by GET

2010-06-29 Thread giraam
Hi folks! I want to know if it's possible to zoom to a point, I mean, i.e.: setCenter(point, 2) but having the feature ID at the URL... This is just on the first load..! Any idea? Thanks! - just another web developer -- View this message in context:

Re: [OpenLayers-Users] zoom slow when overlay vector layer

2010-03-15 Thread Frost89
Hi there With 1.000+ markers, you'll also get 1.000 DOM elements which will slow your browser down no matter what. I would never recommend that. But an alternative could be to only show the markers at a specific scale/zoomlevel and then maybe an overviewmap which won't be as dynamic as the other

[OpenLayers-Users] Zoom to the extent of a cluster

2010-02-15 Thread thedok78
Hello everyone, I'm using the cluster strategy for improving visualization of points from a WFS. Now I'm trying to figure out how to zoom to the extent of a cluster when you click on a point. Anybody has any ideas on how to create this function? Thanks Luca -- View this message in context:

[OpenLayers-Users] Zoom to feature after mapload

2010-01-27 Thread Herman Badenhorst
Hi group. I need to implement the functionality where the map automatically zoom's to a feature after the map is loaded. Thus, my url will look something like this: http://host/MapViewer.php?SelectedUnit=123 The request parameter is the value of the 'unit' attribute in my layer. Is there a way

Re: [OpenLayers-Users] Zoom to feature after mapload

2010-01-27 Thread Marco Scheuble
Hi Herman, maybe you're looking for s.th. like this: get the bounds of a feature: var bounds = features[i].geometry.getBounds(); calculate zoom and zoom to the feature:: var desiredZoom = map.getZoomForExtent(bounds); map.setCenter(bounds.getCenterLonLat(), desiredZoom); for more information

[OpenLayers-Users] zoom to feature

2010-01-26 Thread Marco Scheuble
Hi list, I wanted to know if there is the posibility of zooming to a feature or multiple features? if not, maybe someone can tell me, how to get a BoundingBox including selected features? cheers Marco ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] zoom to feature

2010-01-26 Thread bartvde
Hi, see: http://trac.openlayers.org/wiki/Addins/ZoomToFeatures Best regards, Bart Hi list, I wanted to know if there is the posibility of zooming to a feature or multiple features? if not, maybe someone can tell me, how to get a BoundingBox including selected features? cheers Marco

Re: [OpenLayers-Users] zoom to feature

2010-01-26 Thread Marco Scheuble
Hi Bart, thank you, it works great! cheers, marco Am 26.01.2010 11:07, schrieb bart...@osgis.nl: Hi, see: http://trac.openlayers.org/wiki/Addins/ZoomToFeatures Best regards, Bart Hi list, I wanted to know if there is the posibility of zooming to a feature or multiple features?

[OpenLayers-Users] Zoom on GML extent

2010-01-18 Thread christophe triquet
Hi, I'm adding a GML file in my map with the object OpenLayers.Layer.GML. I'm trying to zoom to this layer extent at map's loading. I can do this if I know de bounding box coordinates with a postgis query. My PHP code : var bounds = new OpenLayers.Bounds(); bounds.extend((new

Re: [OpenLayers-Users] Zoom on GML extent

2010-01-18 Thread Andreas Hocevar
christophe triquet wrote: Hi, I'm adding a GML file in my map with the object OpenLayers.Layer.GML. I'm trying to zoom to this layer extent at map's loading. I can do this if I know de bounding box coordinates with a postgis query. Is it possible the get the gml extent to be able to

Re: [OpenLayers-Users] Zoom on GML extent

2010-01-18 Thread Christopher Schmidt
On Mon, Jan 18, 2010 at 01:32:24PM +0100, christophe triquet wrote: Hi, I'm adding a GML file in my map with the object OpenLayers.Layer.GML. I'm trying to zoom to this layer extent at map's loading. I can do this if I know de bounding box coordinates with a postgis query. My PHP code :

[OpenLayers-Users] Zoom-based feature styling

2009-12-29 Thread Mak Kolybabi
I expect that there's an easy way to do this, but it so far eludes me. I have an OpenLayers.Layer.Vector object called icons. Each feature in this layer has two attributes that I need to worry about: type and zoom. There are fifty different types, and five different zooms, so far. I already have

Re: [OpenLayers-Users] Zoom-based feature styling

2009-12-29 Thread Arnd Wippermann
-boun...@openlayers.org] Im Auftrag von Mak Kolybabi Gesendet: Dienstag, 29. Dezember 2009 17:19 An: users@openlayers.org Betreff: [OpenLayers-Users] Zoom-based feature styling I expect that there's an easy way to do this, but it so far eludes me. I have an OpenLayers.Layer.Vector object called icons

[OpenLayers-Users] Zoom in time?

2009-11-18 Thread carls
Now while zooming the map, it seems a request is sent to servers, and the map will become blank and will be waiting for the image returned. Of course we can display a loading panel to prompt user, but it will be better to zoom current map image roughtly to expected scale to replace the blank map.

Re: [OpenLayers-Users] Zoom in time?

2009-11-18 Thread Bart van den Eijnden
Use transitionEffect: 'resize' as an option on the Layer. Best regards, Bart On Nov 18, 2009, at 3:33 PM, carls wrote: Now while zooming the map, it seems a request is sent to servers, and the map will become blank and will be waiting for the image returned. Of course we can display a

Re: [OpenLayers-Users] Zoom in time?

2009-11-18 Thread carls
Thank you! it's great! bartvde wrote: Use transitionEffect: 'resize' as an option on the Layer. Best regards, Bart On Nov 18, 2009, at 3:33 PM, carls wrote: Now while zooming the map, it seems a request is sent to servers, and the map will become blank and will be waiting for

Re: [OpenLayers-Users] Zoom in zoom out -- Points of Layer are wrong -- Redraw Layer?

2009-11-16 Thread Pedro Baracho
double check = recheck carefully. As I stated on my first email, I am not sure if this is a problem related to your code. If it was, you wouldn't get the points displayed in the right position on the first load. I bet it has something to do with caching, but I am not sure about that either. That

Re: [OpenLayers-Users] Zoom in zoom out -- Points of Layer are wrong -- Redraw Layer?

2009-11-13 Thread stash
Pedro Baracho wrote: Maybe double check your projections coordinates and events on zooming. Hello, thanks for your answer. But what do you mean, by double check your projections coordinates and events on zooming? I'm sorry but I haven't much experience with openlayers. regards

[OpenLayers-Users] Zoom in zoom out -- Points of Layer are wrong -- Redraw Layer?

2009-11-12 Thread stash
Hello, As I already said in my subject I have the following problem. I have a openlayers.map with a wms. When I launch my application, my points are displayed on my map at the right position. Until now, everything is fine. But when I zoom in or zoom out my map, the points still stay at the same

Re: [OpenLayers-Users] Zoom in zoom out -- Points of Layer are wrong -- Redraw Layer?

2009-11-12 Thread Pedro Baracho
I have seen some problems like that, but they were related to image caching on the browser. It was like some layers were being redrawn and others weren't. I don't know if that is what you are experiencing. Maybe double check your projections coordinates and events on zooming. On Thu, Nov 12,

[OpenLayers-Users] Zoom effect like google map possible?

2009-10-27 Thread Jimmy Aumard
hi list, I want to know if it's possible to make a zoom effet like google map with OpenLayers 2.8? Thanks Jim ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Zoom effect like google map possible?

2009-10-27 Thread Vitor Isaia
Try this: wmsMapLayer.transitionEffect = 'resize'; On Tue, Oct 27, 2009 at 8:43 AM, Jimmy Aumard jimmy.aum...@gmail.comwrote: hi list, I want to know if it's possible to make a zoom effet like google map with OpenLayers 2.8? Thanks Jim ___

Re: [OpenLayers-Users] Zoom effect like google map possible?

2009-10-27 Thread Jimmy Aumard
Thanks Victor it's just what I want It's possible to have the same effect with a google layer? Because : var gphy = new OpenLayers.Layer.Google(Google Physical, { type: G_PHYSICAL_MAP, sphericalMercator: true }); gphy.transitionEffect='resize'; Doesn't

Re: [OpenLayers-Users] Zoom

2009-10-27 Thread Andreas Hocevar
Hi, what you are trying to accomplish cannot be done with WMS alone. You would have to apply the same filter to a WFS query, and then at least parse the bounding box of the query result to set the extent. Regards, Andreas. Arturo Juárez Lima wrote: Hi, I was find to process to make a

Re: [OpenLayers-Users] Zoom effect like google map possible?

2009-10-27 Thread Vitor Isaia
Jimmy, I just tried that with a wms layer... but I think it should work (or at least it needs some different configuration steps). Regards, Vitor On Tue, Oct 27, 2009 at 9:29 AM, Jimmy Aumard jimmy.aum...@gmail.comwrote: Thanks Victor it's just what I want It's possible to have the same

[OpenLayers-Users] Zoom

2009-10-26 Thread Arturo Juárez Lima
Hi, I was find to process to make a filter, this is function FiltraFeature(wms,query){ var filtro_temp = query; var filterParams = { cql_filter: null }; if (OpenLayers.String.trim(filtro_temp) != ) {

[OpenLayers-Users] zoom to different WMS layers

2009-08-24 Thread Paul Curran
Hi, I wish to have a map of the UK with different layers being displayed depending on how close I am zoomed into the map. Currently I can view a map of the UK which displays fine via OpenLayers. However I can only view the first layer of my map ( a 1:5 scaled image of the UK). I wish to

Re: [OpenLayers-Users] zoom to different WMS layers

2009-08-24 Thread Alexandre Dube
You're not using the setCenter method properly. See its documentation : http://dev.openlayers.org/releases/OpenLayers-2.5/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.setCenter I noticed you use OpenLayers 2.5. Just keep in mind that it's an old version and that some cool new

Re: [OpenLayers-Users] Zoom to feature and highlight it

2009-08-20 Thread kennyken
I'm going to clarify my problem a little bit. What I'm trying to do is take a parameter from the user (parameter is used to uniquely identify a property on the map), find the location of that property, and center the map on it. I figured the easiest way to do this would be to give each property

Re: [OpenLayers-Users] Zoom to feature and highlight it

2009-08-20 Thread kennyken
I'm going to clarify my problem a little bit. What I'm trying to do is take a parameter from the user (parameter is used to uniquely identify a property on the map), find the location of that property, and center the map on it. I figured the easiest way to do this would be to give each property

[OpenLayers-Users] Zoom to feature and highlight it

2009-08-19 Thread kennyken
Here is what I’m trying to do. I have google maps as my base layer. Then I have a polygon layer on top of that. What I’m trying to do is link to a particular polygon and highlight it via a hyperlink somewhere on my website. For example I would have a link similar to

Re: [OpenLayers-Users] Zoom to feature and highlight it

2009-08-19 Thread Eric Lemoine
On Wednesday, August 19, 2009, kennyken asselti...@hotmail.com wrote: Here is what I’m trying to do. I have google maps as my base layer.  Then I have a polygon layer on top of that. What I’m trying to do is link to a particular polygon and highlight it via a hyperlink somewhere on my

Re: [OpenLayers-Users] Zoom to feature and highlight it

2009-08-19 Thread Lee Meilleur
Of kennyken Sent: Wednesday, August 19, 2009 8:18 AM To: users@openlayers.org Subject: [OpenLayers-Users] Zoom to feature and highlight it Here is what I'm trying to do. I have google maps as my base layer. Then I have a polygon layer on top of that. What I'm trying to do is link to a particular

[OpenLayers-Users] Zoom Level and Base Layer problem

2009-08-03 Thread Raul David Orozco
Hi. I´m dealing with an issue  and I'm out of ideas right now. I've a layer created in my own WMS server, this layer is built with data from some part of my city of residence, but when I load the layer with OL, the zoom level is very far away, because of that my map looks like a tiny black dot,

Re: [OpenLayers-Users] Zoom Level and Base Layer problem

2009-08-03 Thread Marc Jansen
Hi Raul, just a guess: JavaScript / OpenLayers is case sensitive, so first you would need to write: minExtent: new OpenLayers.Bounds(-75.69927, -4.79079, -75.67719, 4.81273), maxExtent: new OpenLayers.Bounds(-180,-90,180,90) Then you could set min- and max extent on the map-object as well,

Re: [OpenLayers-Users] Zoom Level and Base Layer problem

2009-08-03 Thread Nicholas Efremov-Kendall
Hi, You can either specify the zoom level in your map options and drop the zoomtomaxextent, or once you've loaded data, you a map.centerfunction set on whatever data you load. best, N e.g. if( ! map.getCenter() ){ sites2.events.register('loadend', sites2,

[OpenLayers-Users] Zoom level problem

2009-05-19 Thread Robert Hicks
Hi all, I am having a hard time getting my OpenLayers web client to zoom in past Scale = 1 : 1066. Here are my map options: var options = { projection: new OpenLayers.Projection(EPSG:900913), displayProjection: new OpenLayers.Projection(EPSG:4326),

Re: [OpenLayers-Users] zoom to layer?

2009-04-21 Thread Nicholas Bergson-Shilcock
Excerpts from Tim Michelsen's message of Tue Apr 21 15:38:12 -0400 2009: Hello, does Openlayers have a feature like zoom to layer? Like in many desktop GIS where you can use this to get automatically to an adequate extend and zoom level. Do you mean zoom to best fit the data on a layer?

Re: [OpenLayers-Users] Zoom to selected features

2009-04-17 Thread Arnd Wippermann
-boun...@openlayers.org] Im Auftrag von Antonio Jose Silva (Toze) Gesendet: Donnerstag, 16. April 2009 23:22 An: users@openlayers.org Betreff: [OpenLayers-Users] Zoom to selected features Hi, I´m a newbie in openlayers and I’m trying to do a service with a map, where I make a selection and after

[OpenLayers-Users] Zoom to selected features

2009-04-16 Thread Antonio Jose Silva (Toze)
Hi, I´m a newbie in openlayers and I’m trying to do a service with a map, where I make a selection and after that I want to zoom in to the selected feature. How can I make it, any help? Thank you in advance, Toze ___ Users mailing list

[OpenLayers-Users] Zoom works partialy

2009-02-11 Thread Detlef Reichl
Hi, i have a strange problem. I have a map, which uses two OpenStreetMap layers and a Marker layer on top. With an old version of my code - only simple functions, no OO patterns - zooming worked like expected. After a redesign to encapsulate it all in objects, the zoom function behaves very

Re: [OpenLayers-Users] Zoom works partialy

2009-02-11 Thread Christopher Schmidt
On Wed, Feb 11, 2009 at 08:16:39PM +0100, Detlef Reichl wrote: Hi, i have a strange problem. I have a map, which uses two OpenStreetMap layers and a Marker layer on top. With an old version of my code - only simple functions, no OO patterns - zooming worked like expected. After a redesign

Re: [OpenLayers-Users] Zoom works partialy

2009-02-11 Thread Detlef Reichl
Hi, Am Mittwoch, den 11.02.2009, 14:43 -0500 schrieb Christopher Schmidt: You must be very new to the list, since the previous email to yours, sent just 4 hours ago, was the exact same problem. http://openlayers.org/pipermail/users/2009-February/010353.html that's right, I've only

Re: [OpenLayers-Users] Zoom bar without pan controls

2009-02-09 Thread Christopher Schmidt
On Mon, Feb 09, 2009 at 01:23:11AM -0800, Derek Watling wrote: Thanks Ivan I don't really want to start hacking the code because when the next version is released I will have to remember to go and re-hack it. Hopefully Christopher and the excellent team at MetaCarta will pick up on this

Re: [OpenLayers-Users] Zoom bar without pan controls

2009-02-09 Thread Arnd Wippermann
Gesendet: Montag, 9. Februar 2009 11:28 An: Derek Watling Cc: users@openlayers.org Betreff: Re: [OpenLayers-Users] Zoom bar without pan controls hey, was just trying to point out that u can make it by urself by looking into PanZoomBar class ;) just take out everything related to buttons, rename file

Re: [OpenLayers-Users] Zoom bar without pan controls

2009-02-09 Thread Derek Watling
Christopher Schmidt-2 wrote: Christopher has not done most of his work on OpenLayers for MetaCarta for more than a year, and does almost all work for OpenLayers on his own time. Suggesting how people should spend their free time is rude, and demonstrates a lack of support for the open

Re: [OpenLayers-Users] Zoom bar without pan controls

2009-02-07 Thread Andreas Hocevar
Hi, On Tue, Feb 3, 2009 at 1:27 PM, Derek Watling de...@cmainfo.co.za wrote: I have come up with my own solution. Is there a better way of doing this? Why not just use OpenLayers.Control.ZoomPanel? Regards, Andreas. var panZoomBar = new OpenLayers.Control.PanZoomBar();

[OpenLayers-Users] Zoom to Filter Extent

2008-11-24 Thread bmcbride
Hello, I am working on an OpenLayers / GeoServer project and am trying to utilize the Filter tool, which is built into the GeoServer 1.7.0 OpenLayers preview template. I would like to be able to zoom to the extent of the filtered features- so the user can basically enter a search, which

Re: [OpenLayers-Users] Zoom to Filter Extent

2008-11-24 Thread Eric Lemoine
Hi. Would listening to the vector layer's featuresadded events and do map.zoomToExtent(layer.getDataExtent()) in the listener work for you? Eric 2008/11/24, bmcbride [EMAIL PROTECTED]: Hello, I am working on an OpenLayers / GeoServer project and am trying to utilize the Filter tool, which

Re: [OpenLayers-Users] Zoom to Filter Extent

2008-11-24 Thread bartvde
. Anyway, not sure if this helps you? Brad.. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bmcbride Sent: Tuesday, November 25, 2008 1:41 AM To: users@openlayers.org Subject: [OpenLayers-Users] Zoom to Filter Extent Hello, I am working on an OpenLayers

Re: [OpenLayers-Users] Zoom bar slider position - cross-browser issues

2008-09-22 Thread Erik Uzureau
Hello Semantica, Please provide us with a link to a live example of the problem you are having, that will help a lot in debugging the issue. Also important for us to know is the version of openlayers you are using. Thanks, Erik On Mon, Sep 22, 2008 at 7:23 PM, Semantica [EMAIL PROTECTED]

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-08 Thread Bill Thoen
Christopher Schmidt wrote: On Fri, Sep 05, 2008 at 01:10:53PM -0600, Bill Thoen wrote: Christopher Schmidt wrote: In 2.7RC1 (just released) you can use getDataExtent() for that. (We didn't add getDataExtent for vector layers until after 2.6.) Also, using 2.7RC1 would help us get

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-08 Thread Christopher Schmidt
On Mon, Sep 08, 2008 at 09:27:03AM -0600, Bill Thoen wrote: Christopher Schmidt wrote: On Fri, Sep 05, 2008 at 01:10:53PM -0600, Bill Thoen wrote: Christopher Schmidt wrote: In 2.7RC1 (just released) you can use getDataExtent() for that. (We didn't add getDataExtent for vector

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Eric Lemoine
How about map.zoomToMaxExtent()? Eric 2008/9/5, Bill Thoen [EMAIL PROTECTED]: All I know is that I have some vectors in a layer somewhere on the map, but I don't know where their center is or how far out I need to zoom to them all at the maximum zoom scale. I need a bounding box for an entire

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Bill Thoen
That would zoom out to the entire map. I just want to automatically zoom out to the extents of a layer and center on it. I shouldn't have called it 'baseLayer' because it's not a Base Layer; it's an Overlay Layer. Imagine a Base Layer of North America, and then you load a WFS layer of say,

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Bill Thoen
Never mind... I just figured out that getDataExtent() applies to markers, not features like polygons and linestrings. Does anybody know if there is a function for WFS layers that returns the bounding box of that layer regardless of what type of map objects it contains? Bill Thoen wrote: If I

Re: [OpenLayers-Users] Zoom to a Layer's Extent

2008-09-05 Thread Christopher Schmidt
On Fri, Sep 05, 2008 at 11:30:20AM -0600, Bill Thoen wrote: Never mind... I just figured out that getDataExtent() applies to markers, not features like polygons and linestrings. Does anybody know if there is a function for WFS layers that returns the bounding box of that layer regardless

[OpenLayers-Users] Zoom box disappeared

2008-09-04 Thread Chip Taylor
I just implemented the 2.6 release with the ScaleBar and LoadingPanel addins linked to single file build. Now the shift-zoom zoom box outline has disappeared. No other changes were made to code, css, etc. I am sure there is a property somewhere that I now need to set for line width and color to

Re: [OpenLayers-Users] Zoom box disappeared

2008-09-04 Thread Christopher Schmidt
On Thu, Sep 04, 2008 at 10:06:19AM -0700, Chip Taylor wrote: I just implemented the 2.6 release with the ScaleBar and LoadingPanel addins linked to single file build. Now the shift-zoom zoom box outline has disappeared. No other changes were made to code, css, etc. I am sure there is a

[OpenLayers-Users] Zoom to a Layer's Extent

2008-09-03 Thread Bill Thoen
I want to zoom a map to the extent of a layer (called baseLayer) but when I try: map.zoomToExtent(baseLayer.getDataExtent()); the baseLayer.getDataExtent() function returns null. When I don't include this line everything works fine (the layer appears normally, only without the zoom that I

Re: [OpenLayers-Users] Zoom to WMC extent

2008-08-15 Thread jvanulde
Hi Bart, I tried that but I get an null error on format.context.bounds. Bart van den Eijnden wrote: Hi Joost, it should be as simple as: map.zoomToExtent(format.context.bounds); Best regards, Bart I thought this would be simple and probably is, but the solution is evading

[OpenLayers-Users] Zoom to WMC extent

2008-08-13 Thread jvanulde
I thought this would be simple and probably is, but the solution is evading me. I have loaded a WMC into a map but the image is centered in the map window with lots of white space. I would like the map to zoom to the context extent. Any ideas on how this can be done? I have tried setting the

Re: [OpenLayers-Users] Zoom to WMC extent

2008-08-13 Thread bartvde
Hi Joost, it should be as simple as: map.zoomToExtent(format.context.bounds); Best regards, Bart I thought this would be simple and probably is, but the solution is evading me. I have loaded a WMC into a map but the image is centered in the map window with lots of white space. I would

[OpenLayers-Users] Zoom Question

2008-08-07 Thread Bill Thoen
Does the zoom-in tool only work at integral zoom steps? I don't seem to be able get to any map scales that are not available through the ZoomPan control. Is this normal behavior and is it possible to get to say, zoom level 2.3 or set the map to any scale desired? - Bill Thoen

Re: [OpenLayers-Users] Zoom Question

2008-08-07 Thread Paul Spencer
This is the default behaviour for tiled maps, which use pre-rendered map images at specific resolutions. It is possible to avoid this by not using tiles - there is a singleTile option when creating a new layer that accomplishes this - and using the fractionalZoom property (which I am not

Re: [OpenLayers-Users] Zoom Question

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 06:20:23PM -0600, Bill Thoen wrote: Does the zoom-in tool only work at integral zoom steps? Yes, with the exception of fractional zoom (http://openlayers.org/dev/examples/fractional-zoom.html), which has limitations that it can only be used for/with servers that support

Re: [OpenLayers-Users] Zoom Question

2008-08-07 Thread Christopher Schmidt
On Thu, Aug 07, 2008 at 08:36:39PM -0400, Paul Spencer wrote: This is the default behaviour for tiled maps, which use pre-rendered map images at specific resolutions. This is true with or without tiling: setting singleTile doesn't change this behavior. Fractional zoom can be used with tiles

[OpenLayers-Users] Zoom to GML-Layer after loading

2008-07-10 Thread Dipl. Inf. Carsten Eider
Hi folks i want to zoom to the extent auf a GML-Layer, after it has been loaded. My idea is: 1. defining the layer, name it aLayer 2. adding a loadend-event to the layer 3. zooming map to maxextent() 4. within the loadend-function I say map.zoomToExtent(aLayer.getExtent());

[OpenLayers-Users] zoom level resolution in epsg:900913

2008-04-24 Thread Simone Gadenz
Hello! has anybody calculated the resoluzion for zoomlevel for the epsg:900913. What I intend to do is to use tiles for the first 10 zoom levels and then call directly a wms server. I think the only way is to set the minResolution parameter of the tiled layer equal to the maxResolution of the

Re: [OpenLayers-Users] Zoom to a region using drop down selection box

2008-02-04 Thread Andrew de Klerk
PROTECTED] On Behalf Of Intengu Technologies Sent: 04 February 2008 09:09 AM To: Users@openlayers.org Subject: Re: [OpenLayers-Users] Zoom to a region using drop down selection box Josh, I have the data, what I had done was to get the centroids of the polygons, perhaps I need to get

[OpenLayers-Users] Zoom to a region using drop down selection box

2008-02-02 Thread Intengu Technologies
I live is South Africa and the geocoding service offered by Google, Yahoo, Geonames are not comprehensive. What I would like to do is the following from a drop down selection box is for Province, Municipality, Town: 1. Select a province (have lat long of province - centroid) , google maps zooms

Re: [OpenLayers-Users] Zoom to a region using drop down selection box

2008-02-02 Thread Josh Livni
Sindile, Are you asking how to create the data to fill in the dropdowns, or do you already have this all figured out and are asking how to have OpenLayers zoom to a location that you already have extents for? And if you are asking how to create the dropdowns themselves, then do you have

[OpenLayers-Users] Zoom to a WFS filter feature

2007-11-26 Thread goeserver developer
Hi I have added a wfs layer with the filter option . Now I want to zoom to it .I am be able to do it with : bounds = new OpenLayers.Bounds(-9441241.90017852,4636148.46449042,-8963467.99653102,5159004.74932964);// state :ohio map.zoomToExtent(bounds); but I have to do it

Re: [OpenLayers-Users] Zoom to a WFS filter feature

2007-11-26 Thread Eric Lemoine
Hi getBounds() On Nov 26, 2007 12:47 PM, goeserver developer [EMAIL PROTECTED] wrote: Hi I have added a wfs layer with the filter option . Now I want to zoom to it .I am be able to do it with : bounds = new

Re: [OpenLayers-Users] Zoom to a WFS filter feature

2007-11-26 Thread goeserver developer
Hi, thanks, Its working fine on FF except some problem with IE . Eric Lemoine-3 wrote: Hi getBounds() On Nov 26, 2007 12:47 PM, goeserver developer [EMAIL PROTECTED] wrote: Hi I have added a wfs layer with the filter option . Now I want to zoom to it .I am be able to do it

[OpenLayers-Users] Zoom to object

2007-07-05 Thread Raivo Karru
Hi! Is some solution,example how to realize zoom to object using OpenLayers. Something similar like in Ka-map! search used ( http://www.ominiverdi.org/ka-map/ka-map/htdocs/ ) Thanks! RKarru ___ Users mailing list Users@openlayers.org

[OpenLayers-Users] Zoom to object

2007-07-05 Thread Lorenzo Becchi
Hi! Is some solution,example how to realize zoom to object using OpenLayers. Something similar like in Ka-map! search used ( http://www.ominiverdi.org/ka-map/ka-map/htdocs/ ) Thanks! RKarru Hi Raivo, I've wrote that ka-map code. things are not that different in OL. to make it easy,