Re: [OpenLayers-Users] Custom Map Service

2010-07-12 Thread Kalyan Kamepalli
Hi, I managed to write a custom class that sends the native map requests to my server.But, the problem is, the response I get from my server is in XML format and I wanted to show the actual image files on the map. Could some one tell me where to get handle of map service reposne please ? so that

Re: [OpenLayers-Users] Labels allways on top of everything else

2010-07-12 Thread _greg_
hi I have the same issue here. Any solutions yet ? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Labels-allways-on-top-of-everything-else-tp3834678p5281857.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

[OpenLayers-Users] assigning custom mouse cursor to StyleMap

2010-07-12 Thread Imran Rajjad
Hi, I`m trying to assign a custom mouse cursor to a styleMap. this is how im trying to do it var highlighted = new OpenLayers.Style({

Re: [OpenLayers-Users] box coordinates of GetFeatures

2010-07-12 Thread giraam
Maybe this post would be useful to you... http://openlayers.org/pipermail/users/2010-March/016734.html http://openlayers.org/pipermail/users/2010-March/016734.html Cheers, Gilberto Ramos - just another web developer -- View this message in context:

Re: [OpenLayers-Users] RegularPolygon as a search polygon

2010-07-12 Thread tino . desjardins
Hello Brad, I think the problem is your own separate EventHandler and the wrong handler draw. The DrawFeature-Control has an eventhandler featureAdded. Take this instead. e.g. OpenLayers.Control.NoticeControl = OpenLayers.Class(OpenLayers.Control.DrawFeature, { initialize:

Re: [OpenLayers-Users] Does OL support MapABC ?

2010-07-12 Thread giraam
Hi there, Apparently not natively! But it doesn't mean it would be impossible.. You might want to take a look at the last http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers-js.html OL Class Documentation Cheers, Gilberto Ramos - just another web developer

[OpenLayers-Users] Limit total Vector Layer points to be drawn

2010-07-12 Thread giraam
Hi people, I'm trying to limit the total Vector Layer's point to be drawn.. For example, after one point has been drawn prevent new points to be added.. I tried registering beforefeatureadded event as the definition for this event says: Triggered before a feature is added. Listeners will

Re: [OpenLayers-Users] Limit total Vector Layer points to be drawn

2010-07-12 Thread Andreas Hocevar
Hi, looks like your OpenLayers version is too old. This was fixed after the 2.9.1 release (http://trac.openlayers.org/changeset/10362), so you have to use a current development version. Regards, Andreas. On Jul 12, 2010, at 15:40 , giraam wrote: Hi people, I'm trying to limit the total

Re: [OpenLayers-Users] Limit total Vector Layer points to be drawn

2010-07-12 Thread giraam
Hi Andreas, I change my OL include (it was local) and I'm including OL from http://www.openlayers.org/api/OpenLayers.js http://www.openlayers.org/api/OpenLayers.js and still the same problem. I modified my code to something like this: vectorLayer.events.register('beforefeatureadded', this,

Re: [OpenLayers-Users] Does OL support MapABC ?

2010-07-12 Thread Blue Sky
Thank you, Gilberto! I was wondering how I am able to use http://ditu.google.com/ http://ditu.google.com/ other than http://maps.google.com http://maps.google.com to provide chinese maps. Could anyone help? Thanks a lot. John -- View this message in context:

Re: [OpenLayers-Users] Limit total Vector Layer points to be drawn

2010-07-12 Thread Gilberto Ramos
Well, I think this is still a bug.. I'm using the OL 2.9.1 and the solution I found for this is: vectorLayer.events.register('beforefeatureadded', this, function(evt){ if(vectorLayer.features.length 1){

[OpenLayers-Users] Calculating zoom level from an area

2010-07-12 Thread MostlyBaldEagle
I need to figure out what zoom level to use to be able to fully see a rectangular area bound by max latitude + longitude and min latitude + longitude. Anybody ever done this? Any hints would be appreciated Thanks Olaf -- View this message in context:

Re: [OpenLayers-Users] Calculating zoom level from an area

2010-07-12 Thread Lennox Antoine
You might want to look at : getZoomForExtent http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.getZoomForExtent and zoomToExtent

Re: [OpenLayers-Users] Calculating zoom level from an area

2010-07-12 Thread christopher.schmidt
On Jul 12, 2010, at 8:01 PM, ext MostlyBaldEagle wrote: I need to figure out what zoom level to use to be able to fully see a rectangular area bound by max latitude + longitude and min latitude + longitude. Anybody ever done this? Any hints would be appreciated