[OpenLayers-Users] How to display a specific place ?

2010-05-17 Thread Ravi Krishna
Hi, I am a beginner with Openlayers. I tried out the tutorials and could display maps from metacarta. Now i am trying to display google maps inside OpenLayers. i could display the google maps.., but how can i display a specif portion of map when it comes first. eg: how can i display India when it

Re: [OpenLayers-Users] How to display a specific place ?

2010-05-17 Thread Ramón Boza
Hello, There are different approaches you can use to solve this. 1) As you are looking to represent on a map a concrete projection, is to have the coordinates (BBox in latlon, center in latlon and zoom for googlemaps) hardcoded in like a datamodel of your app. So when you want to use them

[OpenLayers-Users] Vector layer performance

2010-05-17 Thread fedesan
Hi list, I have a vector layer that is generated after a search, like this: the search returns a list of numbers and those numbers are the id's from schools in my country, so i do a query to the database and i get the coordinates and features from those schools, The layer is created properly but

Re: [OpenLayers-Users] Popup over GPX track

2010-05-17 Thread Francesco
I tried with this code: var lgpx = new OpenLayers.Layer.Vector(Track, { style: {strokeColor: 'red', strokeWidth: 10, strokeOpacity: 0.5}, projection: map.displayProjection, strategies: [new OpenLayers.Strategy.Fixed()], protocol:

Re: [OpenLayers-Users] How to display a specific place ?

2010-05-17 Thread Ravi Krishna
Hi, Thanks for ur reply..but it didnt work with me.. I am posting the code of my map. Can u please edit it and send me the working code which comes with some specified place when we open it..:) Ravi html head script src=

[OpenLayers-Users] problem cluster attributs

2010-05-17 Thread François Boussuges
Hello. Actually I'm in training in the INRA (agronomicaly institute) in France. I make a webmapping application about the genetically ressources. I have a lot of points (sites) with different attributs, this attibuts is load in a grid panel. this panel display all site and attributs. The

[OpenLayers-Users] Ie8 Popup Opacity issues

2010-05-17 Thread Frank Broniewski
Hello list, we're having some trouble here with Ie8 and popup opacity issues. We use our own alpha-transparent background-image for popups. Works fine, except in Ie8, where the background is replaced by a grey color. Using the debugger, the filter property set by the

[OpenLayers-Users] hovering-informations after 500 milliseconds

2010-05-17 Thread Kai Behncke
Dear users, I use a WFS to get informations to an object by hovering a feature like: my_wfs_highlight = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(my_layer), hover: true, clickTolerance: 15 }); ...in generally this works finely, but: If I move the mouse

Re: [OpenLayers-Users] hovering-informations after 500 milliseconds

2010-05-17 Thread Eric Lemoine
On Monday, May 17, 2010, Kai Behncke kai-behn...@gmx.de wrote: Dear users, I use a WFS to get informations to an object by hovering a feature like: my_wfs_highlight = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(my_layer), hover: true, clickTolerance:

[OpenLayers-Users] Making vector layers.

2010-05-17 Thread Robert M. Wood
I am having difficulty figuring out how to make a vector layer. At this point I have tried at least two different methods. One is importing the data as a KML file out of geoserver, the KML works fine in Google earth so I don't think it is an issue with the KML. The other is using WFS. In IE I

[OpenLayers-Users] how to get layers in a layer

2010-05-17 Thread Ryan Williams
Hi all, I've searched around on google for a while on this and haven't found an answer yet: Can anyone show me an example of how to get the layers in a openlayers wms.layer? Here's an example: cities = new OpenLayers.Layer.WMS(US Cities, wms_path, {layers:

Re: [OpenLayers-Users] how to get layers in a layer

2010-05-17 Thread Arnd Wippermann
Hi, yourWMS.params.LAYERS The params of the wms layer are in uppercase. Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Ryan Williams Gesendet: Montag, 17. Mai 2010 18:26 An: users@openlayers.org Betreff:

Re: [OpenLayers-Users] how to get layers in a layer

2010-05-17 Thread Ryan Williams
Wow, That is much more simple than I thought it was. Thanks! On 5/17/2010 11:52 AM, Arnd Wippermann wrote: Hi, yourWMS.params.LAYERS The params of the wms layer are in uppercase. Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org

Re: [OpenLayers-Users] Making vector layers.

2010-05-17 Thread gingerbbm
Regarding the WFS issue, what is in the response from Geoserver? (You can check this if you have Firebug installed in Firefox (which you really ought to!)). -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Making-vector-layers-tp5065699p5066236.html Sent from the

Re: [OpenLayers-Users] Popup over GPX track

2010-05-17 Thread emmexx
Il 17/05/2010 10:44, Francesco scrisse: I would like to display inside the popup time and name attributes Here a working example: http://www.emmexx.it/varie/t1.html I downloaded a gpx file from here: http://www.topografix.com/team/view.asp?gpx=ashland.gpx#gpx_tracks The file has the name and

Re: [OpenLayers-Users] Performance problem while measuring on Chrome

2010-05-17 Thread Joseph G.
I'm pasting the example in plain text just in case: !doctype html html head meta http-equiv=content-type content=text/html; charset=UTF-8 script src=http://openlayers.org/api/OpenLayers.js; type=text/javascript/script titleOpenLayers/title

Re: [OpenLayers-Users] Problems when using IE7 or Safari page zoom feature

2010-05-17 Thread palewire
I'm seeing this problem in Safari. If the user uses the zoom feature of the browser -- not the map's zoom feature -- polygons will get all out of whack. If you don't know what I mean, It's the same button people press to up the font size. This thing still hanging around? Any have a fix? Should I