Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Marc Jansen
ver at example.com Port 80 > > entering http://localhost/cgi-bin/proxy.cgi > brings up: > waiting for localhost... > > > cheers, > Sven > > > Quoting "Marc Jansen": > > >> Hi Sven, >> >> Is there some firewall active on the serve

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Marc Jansen
d it to Python > Content: > #!/usr/bin/python > print "Content-type: text/html\r\n\r\n"; > print "Python CGI works"; > and it works! > > 3.) changed first line in proxy.cgi to #!/usr/bin/python > but to no avail. The problem rema

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Marc Jansen
Hi Sven, Just some thoughts/questions: * What is the exact server message? * Is your test.cgi a python cgi? * Can proxy.cgi find the pythoin executable? * On a terminal on that machine issue which python This should give you the path to the python executable (/path/to

Re: [OpenLayers-Users] Fwd: Re: OpenLayers Book by Jansen and Adams

2010-08-26 Thread Marc Jansen
Hi Maik, if the URL below works, everything else (including these http://openlayers-buch.de/beispiele/chapter-09/nice-queries-for-postgis-console.sql) should work. As this is not directly related to OpenLayers -- it is very likely not an OpenLayers issue/problem you have -- I suggest taking t

Re: [OpenLayers-Users] OpenLayers Book by Jansen and Adams

2010-08-25 Thread Marc Jansen
komplettes & gut abgestimmtes Packet. Grüße, Marc [1] http://www.apachefriends.org/en/xampp.html On 25.08.2010 22:15, j...@gmx.de wrote: > I am developing on a local machine. How can i make the Code being interpreted. > > > "Marc Jansen" schrieb: > > >>

Re: [OpenLayers-Users] OpenLayers Book by Jansen and Adams

2010-08-25 Thread Marc Jansen
Hi J, since you see the PHP-code, it is very likel, that you are running this example somewhere where PHP isn't being interpreted. Are you developing on a webserver or locally? Regards, Marc On 25.08.2010 16:15, j...@gmx.de wrote: > Sorry for writing in German, but it is a German issue regar

Re: [OpenLayers-Users] Permalink doesn't update on addlayer/removelayer

2010-08-24 Thread Marc Jansen
Hi Andreas, your example convinced me. I think the proposed addition/change might indeed lead to more confusion instead of more clarity/intuitive behaviour. Thanks for discussing this. Cheers, Marc On 24.08.2010 15:38, Andreas Hocevar wrote: > On Aug 24, 2010, at 15:15 , Marc Jansen wr

Re: [OpenLayers-Users] Permalink doesn't update on addlayer/removelayer

2010-08-24 Thread Marc Jansen
Format.OWS or solutions like the OpenGeo Suite's > GeoExplorer (http://suite.opengeo.org/geoexplorer), which stores layer > configurations in a database and provides a permalink with a map id. > > Regards, > Andreas. > > On Aug 24, 2010, at 14:31 , Marc Jansen wrote: >

Re: [OpenLayers-Users] Permalink doesn't update on addlayer/removelayer

2010-08-24 Thread Marc Jansen
Hi Slawomir, I'd consider this a bug with a (on first sight) reasonable easy fix: In the Permalinks draw-method: this.map.events.on({ 'moveend': this.updateLink, 'changelayer': this.updateLink, 'changebaselayer': this.updateLink, 'addl

Re: [OpenLayers-Users] FeatureInfo-Popup not returning results

2010-08-24 Thread Marc Jansen
throws an error (just the GET request) although I can take > this request and get a proper response from the server. > > any idea? > > cheers, > Sven > > > > Quoting "Marc Jansen": > > >> Hi Sven, >> >> The error message you see c

Re: [OpenLayers-Users] FeatureInfo-Popup not returning results

2010-08-24 Thread Marc Jansen
ng but currently I don't know what. > > > cheerrs, > Sven > > -- . Karten im (Inter|Intra)net? OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten von M. Jansen und

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-23 Thread Marc Jansen
untested code as always). Regards, Marc On 21.08.2010 10:05, Jan Tappenbeck wrote: > Am 20.08.2010 21:40, schrieb Marc Jansen: > >> Hi Jan, >> >> looks as if you are still adding two LayerSwitcher Controls: >> >> 1. in the Map-Constr

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-20 Thread Marc Jansen
Hi Jan, looks as if you are still adding two LayerSwitcher Controls: 1. in the Map-Constructor (new OpenLayers.Map(...)) 2. and one in line 219 (map.addControl(new OpenLayers.Control.LayerSwitcher());) I'd suggest getting rid of the second one. What exactly do you mean by deactivate t

Re: [OpenLayers-Users] labels on feature help

2010-08-02 Thread Marc Jansen
Hi ulao, where did you define the variable 'layer' used in map.addLayer(layer); ? Regards, marc Am 02.08.2010 18:01, schrieb ulao: > I tried to make a simple app and now I have a strange issue. See the alert. > The strange thing is this code works in the live example so it must be a > typeO o

Re: [OpenLayers-Users] Blank WMS tiles displaying over Bing hybrid layer

2010-06-15 Thread Marc Jansen
for messages to be accepted. > Also I did not see my message in the users archive or on the Nabble forum > where I found this list. Thank you for your understanding. > -- . Im April erschienen: OpenLayers

Re: [OpenLayers-Users] scalable symbology?

2010-06-10 Thread Marc Jansen
. Adams, OpenSourcePress, München. ISBN: 978-3-937514-92-5 URL: http://openlayers-buch.de ......... Dipl.-Geogr. Marc Jansen - Anwendungsentwickler - terrestris GmbH& Co. KG Irmintrudisstraße 17 53111 Bonn

Re: [OpenLayers-Users] [OpenLayers-Dev] please help us test OpenLayers 2.9RC1

2010-04-01 Thread Marc Jansen
Hi Bart, up until now all our projects and examples could easily and smoothly be upgraded... looks nice: Good job from all of you. Regards, Marc Bart van den Eijnden wrote: > This is a reminder to everyone that OpenLayers 2.9 RC1 is out (since last > Friday), please help us test this release

Re: [OpenLayers-Users] Fwd: graphicTitle tooltip in Chrome and Opera browsers

2010-03-30 Thread Marc Jansen
Hi John, (I cc'ed my answer to the dev-list, as I guess it belongs there) I would suggest opening an enhancement-ticket and attaching the patch (together with a test) as it seems to be at least a partial solution. I cannot tell you what to do, to get the tooltip working in Chrome, though. If y

Re: [OpenLayers-Users] [OpenLayers-Dev] integrate openlayers with deegree wms

2010-03-25 Thread Marc Jansen
Hi infolcop. Since your question IMO fits better to the users-list, I CC'ed my answer to us...@openlayers.org. I hope you are subscribed to that list as well. As for your question: In terms of integration of a WMS into OpenLayers it does not matter which software is used to publish the WebMapSe

Re: [OpenLayers-Users] Multiple invoke by zoom, very bad performance

2010-02-19 Thread Marc Jansen
Hi johnalvarado, so you say that the maprequest is issued to often? Is there any code/live example we can see? Regards, Marc johnalvarado wrote: > Hello, I need your help. > I have a problem with openlayers in performance. I have an application that > has an interface where I show a map that i

Re: [OpenLayers-Users] NavToolbar BUG ?? ScrollWheel Zoom / MapClick ?

2010-02-19 Thread Marc Jansen
Hi Byte, which other controls are added to the map? Are you using controls: [] within the config object to OpenLayers.Map? Regards, Marc Bytechanger wrote: > Hi, > > when I add the NavToolbar to my map then : > > - when I scroll with the mousewheel, the zoom-level steps not 10, 11, 12 >it

Re: [OpenLayers-Users] proble by update new data in map

2010-02-10 Thread Marc Jansen
Hey Jan, I would guess that the txt-file is being cached. Maybe you can teach you webserver (Apache, that is) to output additional headers [1] when the resource http://www.tappenbeck.net/osm/haiti/data/data_haiti/health_facility_paho_poi.txt is requested. Currently the server answers with:

Re: [OpenLayers-Users] OSM-Data to OL-Map

2010-02-08 Thread Marc Jansen
Hi Jan, The given example in the zip-file works well for me as long as it is accessed through an localhost-URL and one zooms to left-bottom=(-8183712.4810411,2060937.2357758) right-top=(-7929330.0509536,2134775.405086) (Haiti, that is) Regards, Marc Jan Tappenbeck wrote: > Hallo ! > > i foun

Re: [OpenLayers-Users] Setting / Configuring proxy in Openlayers/JavaScript

2010-01-27 Thread Marc Jansen
, what is not working, is to set IE to this very same proxy, > but then our proxy crashes because every request made by any windows > application is routed trough our proxy, was of course, is not its > intention.. > > Hopefully it is posible to do this either in openlayers or javascri

Re: [OpenLayers-Users] Setting / Configuring proxy in Openlayers/JavaScript

2010-01-27 Thread Marc Jansen
Hi Job, AFAIK the proxy set up using e.g. OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; Will be used for every AJAX request. Since WMS-Images aren't (usually) requested via XHR, these do not use the proxy. You could try to set the baseURL of your WMS-Layer to point to the proxy, though: O

Re: [OpenLayers-Users] Setting the map center with a bounding box?

2010-01-25 Thread Marc Jansen
to be determined by the MBR. > > -- Dipl.-Geogr. Marc Jansen - Anwendungsentwickler - terrestris GmbH & Co. KG Irmintrudisstraße 17 53111 Bonn Tel:++49 (0)228 / 96 28 99 -53 Fax:++49 (0)228 / 96 28 99 -57 Email: jan...@terrestris.de Web:http://www.

Re: [OpenLayers-Users] Is it possible to add a legend to the layer switcher

2010-01-25 Thread Marc Jansen
··· > email: da...@ikt.esweb: www.ikt.es > ·· > ___ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > -- Dipl.-Geogr. Marc Jans

Re: [OpenLayers-Users] Problem with WFS/Popups in Firefox

2010-01-21 Thread Marc Jansen
m (IE can´t > find a variable, map or something else). But I don´t have any further > ideas how to solve this, sorry. > > best regards > > Sarah > > ---- > > *Von:* "Rauch, Barbara" > *An:

Re: [OpenLayers-Users] Can't zoom to max extent correctly

2010-01-21 Thread Marc Jansen
ox) to be > exactly on the edge of the map. > > Do you have any clue ? Where am I wrong in my javascript ? > > Thanks in advance ! > > darf > ___ > Users mailing list > Users@openlayers.org > http://open

Re: [OpenLayers-Users] Search for features, show popup when select

2010-01-20 Thread Marc Jansen
>handler: *function*() { > > > vectorLayer.removeFeatures(vectorLayer.features); > >} > >} > > }) > > > -

Re: [OpenLayers-Users] SOLVED- gml parser problem with IE

2010-01-20 Thread Marc Jansen
Hi Christoph, as I understand it, something was wrong with Walter's input GML. If your GML isn't working it could be that you have an error in the GML as well. Can you post your GML or a link where we can see it? Regards, Marc Christoph Ratke wrote: > Hi out there, there has been a post about

Re: [OpenLayers-Users] Problem Updating dynamic Geojson layer

2010-01-20 Thread Marc Jansen
e layer. > The destroyFeatures() is working fine, but the addFeatures doesnt do > anything. > > It would be of great help if someone could pointout whats wrong in this. > > Thanks and regards > Afroz > > > > -- Dipl.-Geogr. Marc Jansen - Anwendu

Re: [OpenLayers-Users] SelectFeature on Overlapping Layers

2010-01-18 Thread Marc Jansen
or the a particular layer based on which layer was hovered previously. > > Any help would be highly appreciated. > > > > Thanks and regards > Afroz Kannancheri Kodiyathur > > > -- Dipl.-Geogr. Marc Jansen - Anwendungsentwickler - terrestri

Re: [OpenLayers-Users] Center fo a line geometry? click event...

2010-01-18 Thread Marc Jansen
ture.attributes['shapename']+"", > null, true, onPopupClose); > > > When I have both onFeatureSelect and click it does not work. Does anyone > have an idea how to place popup menu in place where I clicked on a line > geomet

Re: [OpenLayers-Users] combine 2 different projections map data

2010-01-07 Thread Marc Jansen
is also tested.) > > I think another way to do this is translation. That is, making a point in > google map (12657054 & 2518447) equals a point in my own map (835250 & > 817400). In OpenLayers is there any function for translating point between 2 > set of mapdata? > >

Re: [OpenLayers-Users] combine 2 different projections map data

2010-01-07 Thread Marc Jansen
are offered. Check if you (in OL) requests the right projection. It should work that way. Regards, Marc Aypes2 wrote: > > Marc Jansen-2 wrote: > >> Hi Aypes2, >> >> why don't you reproject your cad files to //EPSG:3785 (EPSG:900913, that >> is) when y

Re: [OpenLayers-Users] combine 2 different projections map data

2010-01-06 Thread Marc Jansen
13")," in map option of > Openlayers and (init="epsg:900913") in mapfile (extent also changed), but > they don't work. > > Thanks, > Aypes2 > -- Dipl.-Geogr. Marc Jansen - Anwendungsentwickler - terrestris GmbH & Co. KG

Re: [OpenLayers-Users] Rotation of a vector feature

2010-01-05 Thread Marc Jansen
Hi Tim, thanks for the quick fix! Regards, Marc Tim Schaub schrieb: > Marc Jansen wrote: > >> Hi all, >> >> can anyone point me towards the documentation for the rotation of a >> vector feature? >> >> > > Just added: &g

[OpenLayers-Users] Rotation of a vector feature

2010-01-05 Thread Marc Jansen
Hi all, can anyone point me towards the documentation for the rotation of a vector feature? It works fine if I have a vectorlayer with points and a stylemap like var directionsStyleMap = new OpenLayers.StyleMap( { "default": new OpenLayers.Style( OpenLayers.Util.applyDefaults(

Re: [OpenLayers-Users] Problem with WFS/Popups in Firefox

2010-01-04 Thread Marc Jansen
ne.de > > Postfach 10 32 64 > 45032 Essen > > Steuernummer: RVR 112/5775/0426 > USt.-ldNr.: DE 173867500 > > Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte > Informationen enthalten. > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender > und

Re: [OpenLayers-Users] Problems embedding OpenLayers in a Blog

2009-12-23 Thread Marc Jansen
dont get any error message about security problems > > I found this document here: > http://docs.openlayers.org/library/request.html > > So, realistically it is not possible to host open layers on a blog? > > > mike > > On Wed, Dec 23, 2009 at 1:37 PM, Marc Jansen wrote:

Re: [OpenLayers-Users] Problem with WFS/Popups in Firefox

2009-12-23 Thread Marc Jansen
1 +x_0=250 +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs"; Regards, Marc PS: please reply to the list next time :-) Marc Jansen wrote: > Hi Marleen, > > I actually opened the URL you provided yesterday but could not reproduce > the described behavior. Could you give

Re: [OpenLayers-Users] Problems embedding OpenLayers in a Blog

2009-12-23 Thread Marc Jansen
d appreciate any tips and help > thanks > mike > _______ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > -- Dipl.-Geogr. Marc Jansen - Anwendungsentwickler - terrestris

Re: [OpenLayers-Users] Problem with WFS/Popups in Firefox

2009-12-23 Thread Marc Jansen
Hi Marleen, I actually opened the URL you provided yesterday but could not reproduce the described behavior. Could you give detailled information about what to do to see the displaced popups? Regards, Marc Rauch, Barbara wrote: > > Hello again, > > I’m working with Openlayers 2.7, but also tr

Re: [OpenLayers-Users] new OpenLayers.Layer.Text with autosize

2009-12-22 Thread Marc Jansen
Hi Jan, you should be able to override the popup generation function (I didn't test it, though): OpenLayers.Feature.prototype.createPopup = function (closeBox) { if (this.lonlat != null) { var id = this.id + "_popup"; var anchor = this.marker ? this.marker.icon : null;

Re: [OpenLayers-Users] help(coordinates plane, forms)

2009-11-19 Thread Marc Jansen
layers. > > gracias por cualquier ayuda > > Estudiante de ultimo semestre de ING. TOPOGRAFICA > > > ___ > Users mailing list > Users@openlayers.or

Re: [OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer (SOLVED?)

2009-11-19 Thread Marc Jansen
). I am not 100% sure if it'll work in all browsers now, but at least my Firefox 3.5 on Ubuntu and another one on Windows Vista is fine now. IE is working as well. Any other arguments against this solution? Regards and thanks again, Marc Marc Jansen wrote: > Hi list, > >

Re: [OpenLayers-Users] Playing a game with openlayers

2009-11-19 Thread Marc Jansen
Hi pv2Admin, I got: HTTP error 500: internal server Error. Regards, Marc pv2Admin wrote: > Hello, I develop a new concept of GIS application: GIS game multiuser over > web browser using OpenLayers and Google Maps. The beta version is at > http://pv2.homelinux.com http://pv2.homelinux.com > I u

Re: [OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer

2009-11-18 Thread Marc Jansen
> Bart > > On Nov 18, 2009, at 2:38 PM, Marc Jansen wrote: > > >> Hi Pedro, >> >> Thanks for your input... but it seems odd: in my FF (Mozilla/5.0 (X11; >> U; Linux i686; de; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) >> Firefox/3.5.5) the upp

Re: [OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer

2009-11-18 Thread Marc Jansen
hanks and regards, Marc Pedro Baracho wrote: > For the record, I am currently using FF 3.5.5, Gecko/20091102 on > Windows and I don't see any flickering in the link you posted. > > On Wed, Nov 18, 2009 at 11:10 AM, Marc Jansen <mailto:jan...@terrestris.de>> wrote: > &

Re: [OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer

2009-11-18 Thread Marc Jansen
else reproduce the flickering? Regards, Marc Pedro Baracho wrote: > For the record, I am currently using FF 3.5.5, Gecko/20091102 on > Windows and I don't see any flickering in the link you posted. > > On Wed, Nov 18, 2009 at 11:10 AM, Marc Jansen <mailto:jan...@terrestris.de

[OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer

2009-11-18 Thread Marc Jansen
Hi list, when the URL of an imagelayer is changed via the APIMethod setUrl, the image is flickering regardless of the browser cache or the transition effect. This behaviour can be seen e.g. here: http://www.webmapcenter.de/wetterradar/animation.html In that demo the URL of the imagelayer is ch

Re: [OpenLayers-Users] Problems displaying popup

2009-10-14 Thread Marc Jansen
··· > email: da...@ikt.esweb: www.ikt.es > ·· > > -Mensaje original- > De: Marc Jansen [mailto:jan...@terrestris.de] >

Re: [OpenLayers-Users] Problems displaying popup

2009-10-14 Thread Marc Jansen
Hi David, are posx and posy in the same units as the maps' projection demands it? What does (using the Firefox Plugin Firebug) console.log(popup) show? Regards, Marc David Alda Fernandez de Lezea schrieb: > Hello, I'm having some troubles trying to show a popup in openlayers. > I'm using this

Re: [OpenLayers-Users] OpenLayers and Tilecache doesn't work with "mergeNewParams" Parameter

2009-10-12 Thread Marc Jansen
Hi Hanno, is there any chance that the URL- parameter SLD is not being forwarded to your mapserver? Maybe you can check any log files of either Tilecache or Mapserver. Regards, Marc Rahn Hanno (rahn) schrieb: > > Hello list, > > I still have a problem with my TileCache configuration. I try >

Re: [OpenLayers-Users] WFS-Filter refresh layer Problem

2009-10-10 Thread Marc Jansen
Hi Simon, find comments inline in your email. flan...@gmx.de schrieb: > Hi Users/List, > i've created (Openlayer2.8) a filter-definition and a wfs-layer like : > > //FILTER: > var wfsfilter = 'http://www.opengis.net/gml"; > xmlns:ogc="http://www.opengis.net/ogc";>'+'type'+one+'type'+two+''; > >

Re: [OpenLayers-Users] Popup Attribute Display format

2009-10-10 Thread Marc Jansen
Hi Cress, Play around with the INFO_FORMAT-parameter of the getFeatureInfo-Request. E.g. "application/vnd.ogc.gml" would perhaps be better suited. INFO_FORMAT: 'application/vnd.ogc.gml', Afterwards look at the response and try to parse/read the servers' answer using a proper OpenLayers.Format

Re: [OpenLayers-Users] containsPoint() Help por favor

2009-10-10 Thread Marc Jansen
Hi Jesse, containsPoint is a method of (polygon-)geometries, not of features that have this geometry. Something like this should work // you can test this in Firebug when // you're on the page // http://openlayers.org/dev/examples/editingtoolbar.html // the point-geometry to check // in my case

Re: [OpenLayers-Users] Display WMS Layer

2009-10-10 Thread Marc Jansen
Hi Paul, I'd guess that this Mapserver related question should be asked over at the their user list [1] instead. Regards, Marc [1] http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Paul Curran schrieb: > Hi, I posted about this problem a little while ago and i still cant > get past i

Re: [OpenLayers-Users] Activate and deactivate event on control problem

2009-10-10 Thread Marc Jansen
Hi Jimmy, the approach you use is correct, simply try it out on http://openlayers.org/dev/examples/draw-feature.html using firebugs console: map.controls[6].events.register("activate", null, function(){alert("activate!");}); // map.controls[6] is the draw Point control Afterwards, activate the

Re: [OpenLayers-Users] How obtain the vertex in openlayer

2009-10-08 Thread Marc Jansen
Argh, typo: that code should read ... featureAdded: function( /* your code here */ ), ... but of course this is still untested ;-) Marc Marc Jansen schrieb: > Hi salas, > > I'm not quite sure if I understand what you mean. I'd guess you want a > function that i

Re: [OpenLayers-Users] How obtain the vertex in openlayer

2009-10-08 Thread Marc Jansen
Hi salas, I'm not quite sure if I understand what you mean. I'd guess you want a function that is called right after a feature is added via the control, right? Use the "featureAdded"-property then: var drawpolygon = new OpenLayers.Control.DrawFeature( featureAdded: function( /* your code her

Re: [OpenLayers-Users] getDataExtent

2009-10-03 Thread Marc Jansen
Hi Tim, Hmmm. that's hard to debug. what methods and attributes do get when you issue console.dir( gebaeude ) is the array gebaeude.features filled? Tim Balschmiter schrieb: > Hello List, > i´ve got a mapobject with some layers. > > gebaeude = new OpenLayers.Layer.Vector("gebaeude",{sty

Re: [OpenLayers-Users] getDataExtent

2009-10-02 Thread Marc Jansen
Hi Tim, what do you get when you do an alert(typeof gebaeude) in the console of firebug? If you see the alert popping up with 'undefined', the variable you are trying to use a vartiable that is not defined in the context you call it (that would be window, in your case). Is gebaeude a global va

Re: [OpenLayers-Users] Call layer

2009-10-02 Thread Marc Jansen
Hi there, I would guess that this list is probably the wrong place to ask this question. I furthermore guess you are experiencing problems with UMN mapserver, right? Maybe their mailinglist [1] can help. Regards, Marc [1] http://lists.gis.umn.edu/mailman/listinfo/mapserver-users jbloc1...@go

Re: [OpenLayers-Users] circle (again)...

2009-10-02 Thread Marc Jansen
Hi Diorama, Are you passing in an OpenLayers.Geometry.Point-Instance as first parameter to OpenLayers.Geometry.Polygon.createRegularPolygon()? see: http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Geometry/Polygon-js.html#OpenLayers.Geometry.Polygon.createRegularPo

Re: [OpenLayers-Users] remote kml file onto google projection

2009-09-03 Thread Marc Jansen
Hi Jonathan, is the KML file located on the same server? If so, are you referencing it by a full URL (e.g. 'http://www.example.com/file.kml') or via a relative location (e.g. './file.kml')? I found the latter to be more failsafe. If the file is located under a different domain (e.g. 'http://d

Re: [OpenLayers-Users] Exception, but why?

2009-08-30 Thread Marc Jansen
Hi Maren, it is very hard to guess the source of that behaviour since we do not see any code. Is there any chance you can post a minimal example that shows this behaviour? Have your tried the code with Firebug being disabled? Is the error console still showing the error? -- Marc Maren Kiehl

Re: [OpenLayers-Users] Transforming from Gauß-Krü ger to UTM

2009-08-20 Thread Marc Jansen
Are the respective proj.js files loaded? -- marc Max Stephan schrieb: > Hi everyone! > > I´m having problems with transforming my coordinates which are > Gauß-Krüger/Zone 4 (Germany). In order to add them to my map they should be > EPSG:4326 or EPSG:900913 (the google-EPSG). I tried to convert th

Re: [OpenLayers-Users] Anyway to set minimum bounding box?

2009-08-15 Thread Marc Jansen
Hi Nicholas, have you set the minExtent and maxExtent properties on the map-Object? Regards, Marc Nicholas Efremov-Kendall schrieb: > Hi All, > > I'm happily using map.getCenter in a conditional statement > > if( ! map.getCenter() ){ > sites.events.register('loadend', sites, > function(){map.

Re: [OpenLayers-Users] Vector file as base map

2009-08-15 Thread Marc Jansen
Hi Jeremy, simply pass in isBaseLayer: true as a part of the options-Object when constructing your vector layer. Regards, Marc Jeremy Husmann schrieb: > > Hello everyone, > > Just a quick question. > > Im wanting to stand up a basic webpage using standard OpenLayers, but > I want to be displ

Re: [OpenLayers-Users] Blank PostGIS Layer with Openlayers

2009-08-09 Thread Marc Jansen
Hi Suresh, Have you tested the UMN Layer? (e.g. with shp2img) If it is not working, the mapserver userlist might help. If the layer works, provide an URL sent to Mapserver by OpenLayers. Firebug might help. Regards, Marc Suresh Nimbalkar schrieb: > I am trying to display a simple postgis ro

Re: [OpenLayers-Users] geometry collection

2009-08-06 Thread Marc Jansen
> map.addControl(sf); > sf.activate(); > map.zoomToMaxExtent(); > } > > > > > Boxes Example > > > > > > Demonstrate marker and box type annotations on a map. > &

Re: [OpenLayers-Users] How to make web map faster

2009-08-06 Thread Marc Jansen
> > Thanks for your attention and your help is highly appreciated! > > > > > ___ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- Diplom-Geograph Mar

Re: [OpenLayers-Users] Scale text outside the map

2009-08-06 Thread Marc Jansen
Hi Hanno, you need to pass in two parameters to the constructor of OpenLayers.Control.Scale: 1. the div 2. the options-object In your case this should work: var scale = new OpenLayers.Control.Scale( document.getElementById("kartenElemente"), { // other options } ); map.addControl(scale); Re

Re: [OpenLayers-Users] Using a more readable OpenLayers.js

2009-08-04 Thread Marc Jansen
.8, stored in /var/www/html/map/openlayers/ > directory on my web server. My page loads it like: > src="openlayers/lib/OpenLayers.js"> > > Any ideas? > Adrian > > Marc Jansen wrote: >> Hi Adrian, >> >> assuming you are using a local copy of

Re: [OpenLayers-Users] Zoom Level and Base Layer problem

2009-08-03 Thread Marc Jansen
map.zoomTo( yourZoomLevel ); maybe you only need to set the center of the map and an appropriate zoomleve like so: map.setCenter(lonlatObj, zoomlevel); BTW a map.zoomToMaxExtent would zoom to the extent of whole world. Regards, Marc Jansen Raul David Orozco schrieb: > Hi. I´m dealing with an i

Re: [OpenLayers-Users] Overriding some default CSS values

2009-08-03 Thread Marc Jansen
Hi Adrian, to change the color of the mousecoordinates div, simply override the css like: .olControlMousePosition { color: red; } (tested) to set the opacity of one popup you could use: popup.setOpacity(0.7); (tested) If you generally want to have another opacity issue: OpenLayers.Po

Re: [OpenLayers-Users] how can i change icon control of panel zoom?

2009-07-28 Thread Marc Jansen
Hi Valeria, maybe the OpenLayerButtonGenerator could be of use for you: http://www.terrestris.de/wp-media/downloads/OpenLayersButtonGenerator.tar.gz see this thread some hours ago: http://openlayers.org/pipermail/users/2009-July/012908.html Regards, Marc Valeria Muñoz schrieb: > hi >ho

Re: [OpenLayers-Users] GetCapabilities

2009-07-28 Thread Marc Jansen
; > > > > > ¡Obtén la mejor experiencia en la web! > Descarga gratis el nuevo Internet Explorer 8 > http://downloads.yahoo.com/ieak8/?l=e1 > -------- >

Re: [OpenLayers-Users] Wrong pop-up position (falling off the map)

2009-07-28 Thread Marc Jansen
keepInMap could be usefull as well. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Wrong pop-up position (falling off the map)

2009-07-28 Thread Marc Jansen
Hi Emmanuele, would the attribute "panMapIfOutOfView" of your Popup-object-instance be a possible solution to your problem? Regards, Marc Emmanuele Sordini schrieb: > Dear all, > I have a world map with some fixed markers on it; clicking on each > marker will open an AnchoredBubble popup with s

Re: [OpenLayers-Users] Some question to OpenLayers.Protocol.WFS.fromWMSLayer

2009-07-28 Thread Marc Jansen
Hi Andreas, Andreas Hocevar schrieb: > Hi Kai, > > Kai Behncke wrote: > >> thank you for that hint, but unfortunately it doesn` work (well, the pixel >> tolerance works but then the coordinate is not fitted and it gives an >> "empty"-WFS result). >> >> >> >>> var xyz = new OpenLayers

Re: [OpenLayers-Users] Some question to OpenLayers.Protocol.WFS.fromWMSLayer

2009-07-28 Thread Marc Jansen
Hi Kai, a quick guess: have you tried setting the pixelTolerance-property of the hover-handler? var xyz = new OpenLayers.Control.GetFeature( { protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer), hover: true, styleMap: style_obj1 handlerOptions : { hover: { pixe

[OpenLayers-Users] OS python utility script to generate OpenLayers buttons in different colors

2009-07-28 Thread Marc Jansen
Hi list, my company terrestris just released a small BSD-licensed commandline utility script to recolor the OpenLayers-buttons (pan-north, pan-east, zoom-in ... etc.): the OpenLayersButtonGenerator. If you ever wanted to use OpenLayers with different colors for some of the standard controls (e

[OpenLayers-Users] wrong PX-Coordinates in IE as result of getMousePosition?

2009-01-21 Thread Marc Jansen
Hi list, I experienced differences in the returned values from getMousePosition in IE 6 compaired to FF 3. I am not 100% sure but it might be related to this bug: http://trac.openlayers.org/ticket/1268 My setup is as follows: a map without border, margin or text-align specified (but with regular

[OpenLayers-Users] OpenLayers style object generator (small tool)

2008-08-12 Thread Marc Jansen
Hi all, at http://www.webmapcenter.de/olstyle/generator.php you can find a small tool that aims at helping people to create style-objects online in a visual manner. Currently it is available in German, but that is likely to change. I'd be happy to hear any feedback about the tool. Regards, Mar

Re: [OpenLayers-Users] Dragging a DOM element onto an OpenLayers map

2008-07-29 Thread Marc Jansen
Hey Kevin, ...all is possible, but I'm sure you know that. :-) Are your list-items already dragable? If not, I would suggest using an existing solution of any JS-framework out there (jQuery and the like). As for the rest you need a callback on the "drag-end"-event of the li that checks if the e

Re: [OpenLayers-Users] Fwd: WMS layer getDataExtent?

2007-10-25 Thread Marc Jansen
Hi Alessandro, I'm also new to the list, but at least this response will get you some more attention ;-) As stated in the docs, OpenLayers.Layer.getDataExtent() is to be implemented by the subclasses of layer. For layers.WMS this is not the case (http://dev.openlayers.org/docs/files/OpenLayer

Re: [OpenLayers-Users] Internet Explorer whinge with OpenLayers code

2007-10-24 Thread Marc Jansen
Hi Nick, I'm not sure what caused the error in you environment, but the mentioned error is also thrown when you have object-literals looking like this one: var myObject = { attribute : 1234, otherAttribute: 'some val', // this is where the error occurs }; the error in IE results from th

Re: [OpenLayers-Users] remove all layers

2007-10-18 Thread Marc Jansen
Hi Armin, I'd guess that map.getNumLayers() helps... if you can assure that they are named in the right way Untested. -- Marc Armin Wäspy schrieb: > hi list, > is there a function which removes all displayed layers? > my map has up to 50 layers, named box1box50. > > i tried a for-loop wi

Re: [OpenLayers-Users] Way to detect if layer is done loading?

2007-10-17 Thread Marc Jansen
Hi list. I couldn't follow the whole thread, but I would strongly suggest *not* to use tables for visual effects. The desired effect might be accomplished using absolute positionin (as suggested before) or via: /** CSS **/ #outer { text-align: center; position: absolute; top: 50%; left