[OpenLayers-Users] Requesting Remote Data / OpenLayers.Request.GET

2010-04-22 Thread newbie120
Hello, I am referring to this http://docs.openlayers.org/library/request.html site. I wanted to use OpenLayers.Request.GET to retrieve geo coordinates from nominatim. The problem is that requesting data from a remote site would be cross domain scripting which is not allowed. I am a bit puzzeled

Re: [OpenLayers-Users] Bing maps with dynamic resized map bug

2010-04-22 Thread Jimmy Aumard
Hello, I have test the 2.9 RC3 version of OpenLayers and I have always the bugs if I show a bing map, resize the map and change layer to google map. the google map object was not resized. Thanks Jim 2010/4/20 Jimmy Aumard jimmy.aum...@gmail.com Yes I use OpenLayers 2.8 because it is the

Re: [OpenLayers-Users] Bing maps with dynamic resized map bug

2010-04-22 Thread Andreas Hocevar
On Apr 22, 2010, at 09:25 , Jimmy Aumard wrote: Hello, I have test the 2.9 RC3 version of OpenLayers and I have always the bugs if I show a bing map, resize the map and change layer to google map. the google map object was not resized. Please provide a minimal example that shows the

Re: [OpenLayers-Users] Vector feature now shown up by Firefox 3.5.3

2010-04-22 Thread jamesmikedup...@googlemail.com
I have done some debugging, On firefox/firefbug the OSM data is not loaded, first the osm files are attempted with the result of 206 partial content : GET http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_02000.osm 206 Partial Content XMLHttpRequest.js (line 200)

Re: [OpenLayers-Users] Possibility to put a tiled image on OpenLayers

2010-04-22 Thread Jimmy Aumard
Thanks for responses! The Kris's solution is the best solution for me because I already have the tiles by zoom like this : zoom 1 : 001.png 002.png ... zoom 2 : 001.png 002.png ... zoom 3 : 001.png 002.png ... I just have to overide the getURL method of OpenLayers.Layer.TileCache and that

Re: [OpenLayers-Users] Bing maps with dynamic resized map bug

2010-04-22 Thread Jimmy Aumard
I have try to make an example : html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=content-type content=text/html; charset=utf-8 / titleOpenLayers/title !-- -- scriptsrc='

Re: [OpenLayers-Users] Vector feature now shown up by Firefox 3.5.3

2010-04-22 Thread jamesmikedup...@googlemail.com
Upgrading the server to use the latest version of openlayers did not help. Checked out revision 10249. On Thu, Apr 22, 2010 at 10:15 AM, jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com wrote: I have done some debugging, On firefox/firefbug the OSM data is not loaded, first the

Re: [OpenLayers-Users] Bing maps with dynamic resized map bug

2010-04-22 Thread Andreas Hocevar
Hi, I can confirm the issue. Please simplify the example even more (remove all unneeded layers, replace bing layer with an empty layer, use just one div for the map (no nested map inside carte)) and create a ticket with the example attached. The other issue with different zoom levels in Bing

Re: [OpenLayers-Users] Bing maps with dynamic resized map bug

2010-04-22 Thread Jimmy Aumard
I have open a ticket for the issue but I'm not sure to have correctly make it. My english is very limited sorry. #2588: No update on map object of Google map on map resize -- -+ Reporter: jim06 | Owner:

Re: [OpenLayers-Users] Possibility to put a tiled image on OpenLayers

2010-04-22 Thread Jimmy Aumard
Thanks Kris, I test to override the getURL method but I have problem I have one directory with all my tiles like LayerName_Zoom_.jpg LayerName_Zoom_0001.jpg . And I have override getURL like this : getURL: function(bounds) { var res = this.map.getResolution(); var bbox

Re: [OpenLayers-Users] Requesting Remote Data / OpenLayers.Request.GET

2010-04-22 Thread Gabriel Nolasco
Read this: http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost Best regards, Gabriel Nolasco Hello, I am referring to this http://docs.openlayers.org/library/request.html site. I wanted to use OpenLayers.Request.GET to retrieve geo coordinates from nominatim. The problem is that

Re: [OpenLayers-Users] Vector feature now shown up by Firefox 3.5.3

2010-04-22 Thread jamesmikedup...@googlemail.com
The problem was that the ports were different (5000/8081) and firefox was blocking it as cross site . http://xhema.flossk.org:5000/osmdetail.html is working now. Thanks to everyone for their help and good advice. mike On Thu, Apr 22, 2010 at 11:13 AM, jamesmikedup...@googlemail.com

Re: [OpenLayers-Users] Possibility to put a tiled image on OpenLayers

2010-04-22 Thread Kris Geusebroek
Hi Jimmy, It looks like your calculation of tileY variable is always a multiple of 1000, that way tileY % 1000 always returns 0 I don;t have the data to dive into this more deeply Cheers KRis Met vriendelijke groet, Kind regards, Kristiaan Geusebroek Consultant

[OpenLayers-Users] Can't get WKT from OpenLayers.Geometry.Collection?

2010-04-22 Thread Tobias Sauerwein
Hi! I am trying to get a WKT string from a OpenLayers.Geometry.Collection, but only null is returned. I found this ticket [1], but which is 8 months old. Is this method still not implemented yet for collections? Thank you, Tobias [1]: http://trac.openlayers.org/ticket/2240

[OpenLayers-Users] IE shows only one feature on the map, but the vml nodes exist

2010-04-22 Thread J.Schumann
Hi! In IE7 and IE8 my map shows only one vector feature (with externalgraphic and backgroundgraphic) while debugging the layer shows that all nodes are created: There are as many id=OpenLayers.Geometry.Point_516 nodes as the geojson returns, but only one is visible. It's always the same feature,

Re: [OpenLayers-Users] Possibility to put a tiled image on OpenLayers

2010-04-22 Thread Jimmy Aumard
Thanks Kris, I don't really understand how this function works :s maybe you can explain me. The param bounds is the bbox of the requested tiles isn't it? And var bbox is the map Extent ? My problem is to find the good number of tile to return. My tile are like this 1 2 3 4 5 6 7 8 The bbox

Re: [OpenLayers-Users] Suggestion for hosting platform?

2010-04-22 Thread David Fawcett
WMS-C or TMS Thanks, David. On Fri, Apr 16, 2010 at 11:50 AM, Eric Lemoine eric.lemo...@camptocamp.com wrote: On Fri, Apr 16, 2010 at 3:54 PM, David Fawcett david.fawc...@gmail.com wrote: Jeff, I sounds like OpenLayers with a WMS or TileCache or tiled WMS layer would work for you.  Even

[OpenLayers-Users] OpenLayers 2.9 Final Release

2010-04-22 Thread Bart van den Eijnden
The OpenLayers Development Team is proud to announce the release of OpenLayers 2.9, the latest stable release of OpenLayers. The 2.9 release adds a number of important features, the full list of which can be found in the Release Notes, at http://trac.openlayers.org/wiki/Release/2.9/Notes Some of

Re: [OpenLayers-Users] IE shows only one feature on the map, but the vml nodes exist

2010-04-22 Thread Andreas Hocevar
On Apr 22, 2010, at 16:46 , J.Schumann wrote: Hi! In IE7 and IE8 my map shows only one vector feature (with externalgraphic and backgroundgraphic) while debugging the layer shows that all nodes are created: There are as many id=OpenLayers.Geometry.Point_516 nodes as the geojson returns,

[OpenLayers-Users] Fwd: How to add any functionality of open layers to a custom button ON the map?

2010-04-22 Thread Subhani Minhas
Assalam o alaikum dear all. The answer to my previous post was lightning fast and had almost all the answers I needed, actually it opened a totally new perspective to the open layers . That is the geoext library using rich gui controls. My current issue is this 1. I want to add certain

[OpenLayers-Users] Basic GeoServer OpenLayers map

2010-04-22 Thread ZAMap
Hi all I'm trying to get a basic map displayed but keep getting bounds is null error. None of the suggestions (allOverlays: true) that I found works, most probably because of other issues with my code/setup. Code: function init() { var map = new OpenLayers.Map('map'); var layers = new

Re: [OpenLayers-Users] GeoJSON

2010-04-22 Thread Lisa Gaudette
Look into using OpenLayers.Layer.GML with format: OpenLayers.Format.GeoJSON, as shown with some other types here: http://docs.openlayers.org/library/layers.html#gml And then there's info on styling here: http://docs.openlayers.org/library/feature_styling.html -- View this message in context:

Re: [OpenLayers-Users] [OpenLayers-Dev] OpenLayers 2.9 Final Release

2010-04-22 Thread Björn Harrtell
Great news and great work :) You probably just haven't had time yet, buy for what it's worth I think you should announce the release at http://openlayers.org/blog/ too. /Björn 2010/4/22 Bart van den Eijnden bart...@osgis.nl: The OpenLayers Development Team is proud to announce the release of

[OpenLayers-Users] Correct way to replace the layers in a map with a completely new set?

2010-04-22 Thread Phil Scadden
In response to a button push, I want a map to dump its current set of layers and load a completely new set (which could include completely different baselayers). Cycling through the layer list destroying each in turn is causing headaches as a setnewbaselayer tries to reference a non-existing