Re: [OpenLayers-Users] OL code JS (ECMA?) standarts compliance and code packing

2008-10-06 Thread Deli Soetiawan
ussually i use http://www.bananascript.com for JS compression, it compress the minified (JSMin) OL api that size was ~480kb into ~170kb file, it really effective and eficien since it use real compression, too bad compressed OL api can't works (dunno why?!), the author says in FAQ that the code sho

Re: [OpenLayers-Users] How to add WMS Layer published by MapGuide

2008-10-06 Thread Zac Spitzer
ah, I remember that is it a problem with mapguide or openlayers being case sensistive? On Tue, Oct 7, 2008 at 4:08 AM, carls <[EMAIL PROTECTED]> wrote: > > > Thank you all. > > I found the solution, > just add a layer parameter (not an option) 'transparent' with value of > 'TRUE' in UpperCase

Re: [OpenLayers-Users] hiking trail

2008-10-06 Thread Markus
Hi John, > http://aardbodem.nl/?q=node/37 Yes this looks like that I would like to have... a track, some markers with popups. But how it works? - ho may I put the markers the way and the text in one GPX? - which code I need to copy for displaying the GPX in this way? - where do I find the docume

[OpenLayers-Users] How to create a event?

2008-10-06 Thread Luciano - Uol
Hi all, Someone have a example that teaches create a event that there isn,t in OL? I have a combobox with some placeholders (schools, hospital), all them have the geometry point at postgis. So i bring it and make a mark in the map by mapserver. So, i'd like to choose a placeholder from the combo

Re: [OpenLayers-Users] Print / Saving Image

2008-10-06 Thread youknowho
I went through the 2.7 Release Notes on the new OpenLayers.Request methods (http://trac.openlayers.org/wiki/Request) but have yet to fix this. From the documentation it sounds like this should work: var tiles_json = JSON.stringify(tiles); var printParams = '&width=' + size.w + '&height=' + size.h

[OpenLayers-Users] control order of requests made

2008-10-06 Thread Matthew Atkins
Hi List, I have a basic map setup which brings in 2 WMS services (layers) from the same machine where one is tiled and the other is untiled. The problem that I am experiencing is that the tiled (base) layer is having to completely load before the untiled layer request is even made and then display

Re: [OpenLayers-Users] Dispaly of WMS works in GeoServer but not with Openlayers

2008-10-06 Thread springrider
Effectively, thanks for the tip. But what i don't understand is the need of zooming. Normally, it should use directly the extension defined in GeoServer as it is the case for the other layers... Anyway, i will define the extension now. Thanks Sylvain Arnd Wippermann wrote: > > Your maxexten

[OpenLayers-Users] Create a Circle from a Point

2008-10-06 Thread Luciano - Uol
Hi All, How can I create a circle after give to the OL the POINT [ex: POINT(-42.77844296875 -12.23179531251)] and the radius in Km? PS: I'm using the unit 'DD' in map file. Sds, Luciano. ___ Users mailing list Users@openlayers.org http://openlayer

Re: [OpenLayers-Users] Launch a Popup for a Polygon object

2008-10-06 Thread Arnd Wippermann
Perhaps you have your control not activated yourSelectControl = new OpenLayers.Control.SelectFeature(polygonLayer, {onSelect: onFeatureSelect, onUnselect: onFeatureUnselect}); yourSelectControl.activate(); Arnd Wippermann -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED]

Re: [OpenLayers-Users] Dispaly of WMS works in GeoServer but not with Openlayers

2008-10-06 Thread Arnd Wippermann
Your maxextent are different I tried http://193.43.36.238:8484/figis/Development/openlayers.html zooming and there it was. Arnd Wippermann -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von springrider Gesendet: Montag, 6. Oktober 2008 16:18 An: us

Re: [OpenLayers-Users] How to add WMS Layer published by MapGuide

2008-10-06 Thread carls
Thank you all. I found the solution, just add a layer parameter (not an option) 'transparent' with value of 'TRUE' in UpperCase. carls wrote: > > I found it, > > layer = new OpenLayers.Layer.WMS('MapGuide WMS', > 'http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Administrator&Pass

Re: [OpenLayers-Users] Launch a Popup for a Polygon object

2008-10-06 Thread Transmatrix
Nevermind, I found out what my problem was. I wasn't "activating" the control... Transmatrix wrote: > > This has sent me down the right path, but I'm still lost. I am trying to > modify this script to work for a polygon that was already drawn, and > doesn't require the radio buttons. > > I tr

Re: [OpenLayers-Users] open popup in open layers from external list

2008-10-06 Thread Arnd Wippermann
Hi, I'm not familiar with Markers, but I would think If you create your list with an onclick function ie. togglePopup(idx) with the index of the marker, then you should be able to show and hide the popup. What I don't know, if marker.length and feature[idx] is the right way to reference to the m

Re: [OpenLayers-Users] Launch a Popup for a Polygon object

2008-10-06 Thread Transmatrix
This has sent me down the right path, but I'm still lost. I am trying to modify this script to work for a polygon that was already drawn, and doesn't require the radio buttons. I tried just adding this to my script: map.addControl(new OpenLayers.Control.SelectFeature(polygonLayer,

Re: [OpenLayers-Users] Label Popup Keeps Shifting Based on Zoom Level...

2008-10-06 Thread Maps-R-us
Here you go: http://www.laudontech.com/openlayers/OpenLayers.html Thank you, M Maps-R-us wrote: > > > > the_mog wrote: >> >> Can you provide us with a link so we can see the problem? >> >> Kenny >> >> -Original Message- >> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [OpenLayers-Users] Label Popup Keeps Shifting Based on Zoom Level...

2008-10-06 Thread Maps-R-us
the_mog wrote: > > Can you provide us with a link so we can see the problem? > > Kenny > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On > Behalf Of Maps-R-us > > Sent: 06 October 2008 04:53 PM > > To: users@openlayers.org > > Subject: [OpenLa

Re: [OpenLayers-Users] Label Popup Keeps Shifting Based on Zoom Level...

2008-10-06 Thread Maps-R-us
the_mog wrote: > > Can you provide us with a link so we can see the problem? > > Kenny > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On > Behalf Of Maps-R-us > > Sent: 06 October 2008 04:53 PM > > To: users@openlayers.org > > Subject: [OpenLa

Re: [OpenLayers-Users] Label Popup Keeps Shifting Based on Zoom Level...

2008-10-06 Thread Kenny
Can you provide us with a link so we can see the problem? Kenny -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maps-R-us Sent: 06 October 2008 04:53 PM To: users@openlayers.org Subject: [OpenLayers-Users] Label Popup Keeps Shifting Based on Zoo

[OpenLayers-Users] Label Popup Keeps Shifting Based on Zoom Level...

2008-10-06 Thread Maps-R-us
I am using popups to dynamically label a map. I would like the position of the popup text to be centered and fixed at the origin lat/lon. Is this possible? Why are my popup labels shifting everytime I change the zoom level? Thanks in advance, M -- View this message in context: http://www.

[OpenLayers-Users] Dispaly of WMS works in GeoServer but not with Openlayers

2008-10-06 Thread springrider
Good afternoon I have loaded a shapefile into Oracle Spatial. The display in the demo section of GeoServer works correctly: http://193.43.36.238:8484/geoserver/wms?bbox=-128.67246437072706,26.725438404083228,120.50570869445805,75.15232534408568&styles=&Format=application/openlayers&request=GetMa

[OpenLayers-Users] OpenLayers.Layer.Vector not displaying

2008-10-06 Thread Mark Ayad
Hi all, In the follwing example we add two layers, one a vector layer, and a marker layer. The both layers appear in the layer switcher, but only the marker layer shows the marker. The vector layer displays nothing. Any ideas ? public static native void addVectorLayer( JSObject map ) /*-{

Re: [OpenLayers-Users] How to add WMS Layer published by MapGuide

2008-10-06 Thread Zac Spitzer
there is a publish option required for the layer for it to be accessible via WMS r using using mapguide studio? there is an option under the layer properties On Mon, Oct 6, 2008 at 10:04 PM, Roald de Wit <[EMAIL PROTECTED]> wrote: > Hey Carls, > > carls wrote: >> but another problem: >> how to

Re: [OpenLayers-Users] How to add WMS Layer published by MapGuide

2008-10-06 Thread Roald de Wit
Hey Carls, carls wrote: > but another problem: > how to set the returned image as transparent? > Try adding "transparent: true" to your 'optionswms' . Cheers, Roald ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/u

Re: [OpenLayers-Users] [ZS1] Re: OL code JS (ECMA?) standarts compliance and code packing

2008-10-06 Thread Frédéric Junod
Hi, I opened a ticket to fix these bugs: http://trac.openlayers.org/ticket/1762 fredj Le Mon, 06 Oct 2008 11:51:29 +0200, "Kenneth Skovhede, GEOGRAF A/S" <[EMAIL PROTECTED]> a écrit : > I have just tested with trunk, and there is also a missing semicolon in > Util.js line 1272. > In the Open

Re: [OpenLayers-Users] [ZS1] Re: OL code JS (ECMA?) standarts compliance and code packing

2008-10-06 Thread Kenneth Skovhede, GEOGRAF A/S
I have just tested with trunk, and there is also a missing semicolon in Util.js line 1272. In the OpenLayers.js compressed file, this becomes line 189. Adding the semicolon to the end of line 189 allows me to pack OpenLayers.js. If someone is using the .Net version of Packer, change the function:

[OpenLayers-Users] vector layers optimization?

2008-10-06 Thread Gilles Bassière
Hi list, In a recent post about hiking trails, I can read: "Be aware though that using vector data in a browser can lead to serious performance problems when the data becomes large." Well, I ran into this same problem a few days ago and eventually choose a WMS-based solution. Anyway, I remai

[OpenLayers-Users] dynamic sld/php file from UMN mapserver and Openlayers

2008-10-06 Thread Rahn Hanno (rahn)
Hi List, I try to realise a dynamiv sld-file. Now I make a php file. The output of this file is the sld description. I think the output is ok. Here are the code of the file. http://www.opengis.net/sld"; xmlns:gml="http://www.opengis.net/gml"xmlns:ogc="http://www.opengis.net/ogc"; xm

Re: [OpenLayers-Users] hiking trail

2008-10-06 Thread johnp
Hi Markus, You could have a look at http://aardbodem.nl/?q=node/37 (search for 'gpx' in the source). At this page you see an overlay of a single GPX file containing both waypoints and tracks. Note that the example page uses the previous OpenLayers release 2.6 together with custom code for show

Re: [OpenLayers-Users] hiking trail

2008-10-06 Thread Frank Broniewski
Hi Markus, I include KML files with a GPS track from my hiking tours with my dog into an Openlayers application. Though I do not (yet) use a point layer with additional information, it shouldn't be too hard to integrate. If you look at the source code of the page ( http://clydeswelt.frabron.de