[OpenLayers-Users] How can I donot let the map in the overview-map zoomed and moved?

2008-04-14 Thread Yang Zhaohui
Hello dear everyone, I find when I zoom in,zoom out or pan the map, the map in the overview-map is also zoomed in/out or moved. In my opinion,the overview map is called overview-map, because when I zoom-in the main map in a certain zoom-level and we do not know where the positon I am in

Re: [OpenLayers-Users] How can I donot let the map in the overview-map zoomed and moved?

2008-04-14 Thread Bart van den Eijnden (OSGIS)
Hi, use something like: isSuitableOverview: function() {return true;} in your overview map constructor. Example: var overviewmap = new OpenLayers.Control.OverviewMap( {layers: [overviewlayer], size: new OpenLayers.Size(225, 180), minRectSize: 10, div: overviewdiv, isSuitableOverview:

[OpenLayers-Users] style externalGraphic and WFS new vector layer

2008-04-14 Thread 2StepForward
Hi all, and first nice to work with OL. Many things of what I will do work's as good as could, but with one thing I get on my bounds and need some help from you. I will use my own server side images with OL. It works great with a vector layer and a vector feature, where the style is set to

Re: [OpenLayers-Users] style externalGraphic and WFS new vector layer

2008-04-14 Thread 2StepForward
Hi all, now if have try it again and it works, cool. I have set it up like this: var style_em = OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default']); style_em.fillOpacity= 1; style_em.fillColor= #00; style_em.pointRadius =

Re: [OpenLayers-Users] Missing docs for OpenLayers and OpenLayers.parseXMLString and maybe others

2008-04-14 Thread Stephen Woodbridge
Tim Schaub wrote: Please do not use OpenLayers.parseXMLString. Can you explain what you are doing that requires it? Hi Tim, Thanks for the heads up. I have a geocoder that returns XML in addition to other formats and needed to parse it. I got a headache trying to figure out how to get my

[OpenLayers-Users] possible to enable pan when mouse is over a feature?

2008-04-14 Thread Ed Fialkowski
Hi all, I've tried searching but haven't quite found what I'm looking for so I hope this isn't a repeat post. I have all the US counties displayed as features from featureserver in an openlayers map. My problem is, every spot on the map always displays a feature (counties are everywhere), so if

Re: [OpenLayers-Users] possible to enable pan when mouse is over a feature?

2008-04-14 Thread Christopher Schmidt
On Mon, Apr 14, 2008 at 02:08:16PM -0500, Ed Fialkowski wrote: Anyone know if it's possible to disable the select and force a pan, maybe using the shift key or any other modifier or maybe another icon somewhere? Yes, this is what the Control.Panel is designed for: see NavigationToolbar,

[OpenLayers-Users] draw a line on a map?

2008-04-14 Thread geoman
I'm new to OpenLayers; I'm evaluating it for a current project. I'm going to be getting WKT for road segments from a database, and I want to highlight those segments on a map. However, I haven't been able to get past this error: Error: uncaught exception: [Exception... String contains an invalid

Re: [OpenLayers-Users] draw a line on a map?

2008-04-14 Thread Christopher Schmidt
On Mon, Apr 14, 2008 at 01:14:52PM -0700, geoman wrote: I'm new to OpenLayers; I'm evaluating it for a current project. I'm going to be getting WKT for road segments from a database, and I want to highlight those segments on a map. However, I haven't been able to get past this error: Error:

[OpenLayers-Users] Maximum extent shrinks when zooming in

2008-04-14 Thread John Westwood
Hi, I am using OpenLayers with Tilecache and MapServer. When I zoom into the map the right and top maximum extents of the map shrink. This does not happen with every zoom, it seems to occur every alternate zoom. The left and bottom extents are not affected. Initially, I thought it could be a