[OpenLayers-Users] Fwd: TypeError: OpenLayers.Control.EditingToolbar is not a constructor

2013-06-28 Thread Tonton
ver what's wrong. > > HTH, > > Alexandre > > > > On 13-06-28 05:13 AM, Tonton wrote: > > Yes i use OL embeded with the horde framework > > i replace it with OL stable just downloaded and i have this > > error > TypeError: this.map.addControl is not a func

Re: [OpenLayers-Users] TypeError: OpenLayers.Control.EditingToolbar is not a constructor

2013-06-28 Thread Tonton
, > you'll see what controls your build contains. > > That would be the first thing I'd check. Try switching to > OpenLayers.debug.js or OpenLayers.js to see if it works. > > HTH, > > Alexandre > > > > On 13-06-27 10:57 AM, Tonton wrote: > > I try

[OpenLayers-Users] TypeError: OpenLayers.Control.EditingToolbar is not a constructor

2013-06-27 Thread Tonton
I try to add editing tools bare after the map was created var vlay = this.map_layers[1]; console.log(vlay); var editing = new OpenLayers.Control.EditingToolbar(vlay); this.map.addControl(editing); and systematicaly i had this error message TypeError

[OpenLayers-Users] measure distance on layer with lambert projection

2011-01-11 Thread Tonton
try units:'dd' instead units:'meters', in OL map definition but i don't know why and maybe not true result ... tonton On Tue, Jan 11, 2011 at 11:22 AM, Ludovic Granjon < ludovic.gran...@u-bourgogne.fr> wrote: > Hi all > > I try to use a measure openlaye

Re: [OpenLayers-Users] Re: WMScapabilities

2011-01-06 Thread Tonton
layers_array); > } > > > Aditya kumar > -- > Wouahooo ! Great a just i receive in last layer ther map name from mapfile so i use mapserver i use length-1 in the loop to don't genarate a global layer with all of layer in the mapfile and use a base layer so is not drwing if havn't one ... thanks tonton ___ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users

Re: [OpenLayers-Users] (no subject)

2011-01-04 Thread Tonton
On Mon, Jan 3, 2011 at 10:43 PM, Roald de Wit wrote: > Oops, use this: {styleMap: stylemap} > > > On 04/01/11 08:28, Roald de Wit wrote: > >> Hi, >> >> Try: {styleMap: styleMap} >> >> Regards, Roald >> >> Yes i'

Re: [OpenLayers-Users] (no subject)

2011-01-03 Thread Tonton
Layer.WFS subclasses Layer.Vector, so all properties that apply to > layer.vector > also apply to layer.wfs. > > -- Chris > > hello and happy new years ! you right Chris i have a difference between with and without { style:stylemap } with the color of the feature (line) is orange (default style

[OpenLayers-Users] (no subject)

2010-12-27 Thread Tonton
unable to display a vector layer, I use the definition new OpenLayers.Layer.WFS() But it have no parameter style !? Is there an example of a style applied layer.WFS? all i found is about Layer.Vector() regards Eric ___ Users mailing list us...@list

[OpenLayers-Users] how test vector layer definition

2010-12-23 Thread Tonton
st are found to the server to get the informations so how to know if my layer construction is valid ? regards tonton ___ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users

Re: [OpenLayers-Users] SLD=?

2010-12-06 Thread Tonton
> > > >> > >> http://myserver/cgi-bi/wms0?SERVICE=WMS&VersION=1.1.1&Request=GetMap&Layers=mylayer&SLD=http://urltomySLDfile.xml >> > Newbie what i am ! var wms5 = new OpenLayers.Layer.WMS( "Layername", "http://192.168.12.60/cgi-bin/mapserv?map=/var/www/demo.map&SLD=* http://urltomySLDfile.xml*&";

Re: [OpenLayers-Users] SLD=?

2010-12-06 Thread Tonton
On Mon, Dec 6, 2010 at 3:57 PM, David Fawcett wrote: > I am guessing (literally) that you might be able to do this with > vendorParams. I couldn't find a good example to point you to though. > > David. > > i will try this thanks tonton > > > http://myserver

[OpenLayers-Users] SLD=?

2010-12-06 Thread Tonton
hello in mapserver we can ask sld file in the request with the wms GetMap url someone know how to write it into the Openlayer javascript ? and have a request like http://myserver/cgi-bi/wms0?SERVICE=WMS&VersION=1.1.1&Request=GetMap&Layers=mylayer&SLD=http://urltomySLDfile.xml?

Re: [OpenLayers-Users] Re: how to color OverviewMap solved

2010-11-26 Thread Tonton
All is right if i use the first baselayer ! thank's On Fri, Nov 26, 2010 at 9:59 AM, Tonton wrote: > i don't think is a css trouble (see capture) > to miss overviewMap construct > for the color it take the wms layer's one :) > > On Fri, Nov 26, 2010 at 7:02 AM,

[OpenLayers-Users] Re: how to color OverviewMap

2010-11-25 Thread Tonton
On Thu, Nov 25, 2010 at 9:52 AM, Tonton wrote: > hello > i try to change the overview map color > actually is white and background is blue and i hope a white background ... > so don't see anything! > how to set the map color in the overview ? > Thank's > tonton >

[OpenLayers-Users] how to color OverviewMap

2010-11-25 Thread Tonton
hello i try to change the overview map color actually is white and background is blue and i hope a white background ... so don't see anything! how to set the map color in the overview ? Thank's tonton ___ Users mailing list us...@lists

Re: [OpenLayers-Users] WMScapabilities

2010-11-04 Thread Tonton
> xml= " > http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/courlyall.map&request=GetCapabilities&SERVICE=WMS&version=1.3 > " > > You'll need to actually request the data. right now, you're passing a > URL instead of XML. > > -- Chris > > you right function parseData(xml) { va

[OpenLayers-Users] WMScapabilities

2010-11-04 Thread Tonton
Hello i try to parse a wms for obtain a layer list but it seem a bit difficult for me i start from parse gml sample function parseData() { g = new OpenLayers.Format.WMSCapabilities(); html = "" xml= " http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/courlyall.map

[OpenLayers-Users] OSM & WMS

2010-10-08 Thread Tonton
hello May we use a osm map base layer and a WMS overlay at the same map ? tonton ___ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users

[OpenLayers-Users] Scale and position

2010-10-06 Thread Tonton
hello i use this definition new OpenLayers.Control.ScaleLine(), but i hav a sclaine with Nan (not a number) and i use mouse position to seen it in reel time but i try to put it in a pop when i click and it is return lonlat is null if you have idea ? regards tonton