I've been having trouble with behaviour when switching base layers. I
start with a large area, and I have images covering some much smaller
parts of the whole area that I would like to switch in. At moment, if I
change the
base layer to one of these I get odd results certainly dont see the layer
Jonathan Sawyer wrote:
> Good afternoon OpenLayers community!
>
> I have a question regarding the rendering of various build in graphic
> styles (names). Can I render, say, a circle marker into a custom ?
>
For vector symbols rendered client side, we use a different renderer
depending on the b
Arnd, Thanks a lot, It works. You helpled a lot and I appreciate it.
On Wed, Feb 24, 2010 at 1:21 PM, Arnd Wippermann wrote:
> Hi,
>
> 1. you have to reproject your vector data (with EPSG:900913 and EPSG:4326
> it is possible without proj4js)
>
> 2. you have to add your vector layer to your m
Good afternoon OpenLayers community!
I have a question regarding the rendering of various build in graphic styles
(names). Can I render, say, a circle marker into a custom ?
For example:
Using these graphic names:
http://openlayers.org/dev/examples/graphic-name.html
I would like to be able to, a
Christoph Lingg wrote:
> Hi Andreas,
>
> thank you very much for your help!
>
> Now it works but I am still not totally satisfied by the solution: I
> think it is not the most intuitive way for endusers to first click a
> feature to be able to drag it then. It might cause some irritation
> and th
Sorry for the top posting, the last response was not sent to the list.
Lewis,
Could you post your current code and the response message into your favorite
pastebin site and then send us a link?
Brian
On Thu, Feb 25, 2010 at 4:32 PM, Lewis Oaten wrote:
> Hi Brian,
>
> Thanks for your prompt res
Lewis,
Can you elaborate on what a "positive response" means? Did you get an HTTP
200 OK, or did you use something like Firebug to look inside of your request
and found actual data returned?
I'm asking because you can get an empty 200OK. I had a rewrite issue that
prevented my proxied requests f
Hi,
I'm working with mapfish and openlayers and my problem is that when I use
the option Zoom to maximum Map Extent I always go the whole world extent
even when I define my box as follows
var options = {
projection: "EPSG:4326", units: "degrees", maxResolution: "auto",
maxExtent
btw. here is the adapted code example for anyone who might be interested in it:
layer = new OpenLayers.Layer.Vector("layer");
map.addLayers([layer]);
drag = new OpenLayers.Control.DragFeature(layer);
map.addControl(drag);
//drag.activate();
drag.onComplete = function(f) {
drag.deactivate();
Hi Andreas,
thank you very much for your help!
Now it works but I am still not totally satisfied by the solution: I think it
is not the most intuitive way for endusers to first click a feature to be able
to drag it then. It might cause some irritation and the impression that
dragging works not
Christoph Lingg wrote:
> Hi Andreas,
>
> thank you for your help!
>
> I have alreade tried to use the SelectFeature class. But a strange
> behaviour appears when combing it with the DragFeature: i can click
> the feature only once. If i don't use the DragFeature the
> SelectFeature works like exp
Hi Andreas,
thank you for your help!
I have alreade tried to use the SelectFeature class. But a strange behaviour
appears when combing it with the DragFeature: i can click the feature only
once. If i don't use the DragFeature the SelectFeature works like expected. I
created a working example o
Hanno,
the constructor takes 1 argument, so use:
new
OpenLayers.Control.LayerSwitcher({'div':OpenLayers.Util.getElement('mapSwitcher'),
roundedCorner:false});
Best regards,
Bart
On Feb 25, 2010, at 9:32 AM, Rahn Hanno (rahn) wrote:
> hello again,
>
> I try to realise Barts tips, but I have
Hi all,
I'd like to have a dynamic style map, that depending on the value returned
in the xml changes the color of a point. I only have 3 values (null, 1, 2)
and I'm just not sure how to set up the conditional within the style map. If
anyone has done this, or can point me in the right direction,
On Thu, Feb 25, 2010 at 11:18:57AM -0500, eg...@geosyntec.com wrote:
> Sorry,
>
> Here is the kml...
>
>
> http://www.opengis.net/kml/2.2";>
>
> Simple placemark
> TP-1
>
> -74.0835,42.9065,0
>
>
>
Because the description tag doesn'
Sorry,
Here is the kml...
http://www.opengis.net/kml/2.2";>
Simple placemark
TP-1
-74.0835,42.9065,0
-Original Message-
From: Christopher Schmidt [mailto:crschm...@metacarta.com]
Sent: Thursday, February 25, 2010
On Thu, Feb 25, 2010 at 10:13:09AM -0500, eg...@geosyntec.com wrote:
> Does anyone know why the line(s) below would return 'null' or null?
>
> xmlDoc.getElementsByTagName("description")[0].childNodes[0].nodeValue;
... Without your KML file? How could we know?
-- Chris
> Thanks!
>
> ///
Hi all,
I have coded a GeoDJango app to import a KML file into a PostGIS
database, preserving folders and styles.
I can successfully display the features (or "placemarks" in KML
terminology) on my OpenLayers map, serving them with FeatureServer.
Each feature has a folder_id and a style_id attrib
Oops, as I tried to say: I came across this problem a while ago, and came up
with something like this (as was outlined by Shawn)
MouseOver = OpenLayers.Class({
ᅵᅵᅵ map: null,
ᅵᅵᅵ timer: null,ᅵᅵᅵ
ᅵᅵᅵ prevXY: null,
ᅵᅵᅵ
ᅵᅵᅵ /**
ᅵᅵᅵᅵ *
ᅵᅵᅵᅵ *
ï¿
REMOVED_BY_THE_EXCHANGE_EMAIL_SCANNING_SERVICE_008BC5E7_55E9F026D00
GUID::= 695731b2-611a-4e58-847c-ac52466d2628
PATH::=
!CRYPT!840D757A8080D0C76A26FF81F3FA70208F6A98816EB00D12DB336E0E9CCCAFD62668D88A1AD46A6A8FC2A126F4F9B166A5C3D60A992565F4A7A65F24E2C229CDD2D32107744!84073BA692635189B9E1EB87F8
Does anyone know why the line(s) below would return 'null' or null?
xmlDoc.getElementsByTagName("description")[0].childNodes[0].nodeValue;
Thanks!
///PARSING OUT KML
INFORMATION//
OpenLayers.loadURL(kmlLayer.url, '', this,
Thanks for your response. I've tried what you told me but without success. I've
made my own style to specify some different things, but I've got a demo app
that I did some time ago with same style and it works on Chrome. It's something
strange. In theory the style of the overview map is create
mousemove would probably what you will want to tie into and then set a
timeout on it which would get reset each time mousemove gets fired.
When the timeout gets fired, it should call your mousestop even. Play
with the timeout value until you are happy with the amount of time it
waits before cons
Hello,
I need to detect when mouse stops, witch event I have to register?
Thank's in advance
Antoni Vidal
Unitat d'Aplicacions SIG-WEB
Ext. 3228
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Frost89 wrote:
> Hi all
>
> I'm trying to add a custom toolbar to my map webapp. I was trying to use
> Control.Panel, but besides the standard controls in OpenLayers I also need
> to add some custom function such as print/user management and some others.
>
> So I was thinking if I would be able t
David Alda Fernandez de Lezea wrote:
> Nobody knows why this could be happening?
I suspect that it is a css problem. Make sure that you have included
theme/default/style.css as css resource in your web page, and try to
temporarily disable all other css definitions on your page to find the
offen
Hi,
you need to create an OpenLayers.Control.SelectFeature instance,
configure it with your vector layer, and add it to the map. You can then
listen for the layer's "featureselected" event.
See the [1] example if you need a code snippet. The example does exactly
the same, but on two different
Hi,
you should loop through your feature in a listener function to the
"loadend" event of the layer.
Also, if you are using Layer.Vector with Protocol.WFS, you can provide a
filter property on the layer, configured with an OpenLayers.Filter, to
filter your features on the server side, instead
> So I was thinking if I would be able to make my own toolbar (I'm using a
> standard HTML ) and then add a onClick handler, which could set the
> active tool to eg. being zoom in.
This should work. I am using the same concept with Mapfish.
Alex
___
Use
Problem solved thanks to Edvin!
There is missing constructor for WFSParam. This code deals with the problem.
public class WFSParamsExt extends WFSParams {
protected WFSParamsExt(JSObject jsObject) {
super(jsObject);
}
public WFSParamsExt(){
Hi All,
I have a layer drawn from the shape information stored in MSSQL 2008 server.
The layer has around 300 polygons which are drawn perfectly on a world base
map.
When i try to get the details for each polygon using the Getfeatureinfo
during the click event, i get the following error from MSSQ
Hi,
sorry, I wasn´t here last time...
I use the following Code to implement the Toolbar...
map = new OpenLayers.Map('map',
{
maxExtent: new
OpenLayers.Bounds(maxExtend_minLON, maxExte
Hi all
I'm trying to add a custom toolbar to my map webapp. I was trying to use
Control.Panel, but besides the standard controls in OpenLayers I also need
to add some custom function such as print/user management and some others.
So I was thinking if I would be able to make my own toolbar (I'm u
Nobody knows why this could be happening?
-Mensaje original-
De: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] En
nombre de David Alda Fernandez de Lezea
Enviado el: miércoles, 24 de febrero de 2010 10:00
Para: openlayers users
Asunto: [OpenLayers-Users] RV: Problems
Hello!
I changed from GoogleMap to OpenLayers, and although I enjoy to use the
opensource equivalent, sometimes I feel lost in the OL documentation ;-)
Would anyone be so kind and could give me hint how to achieve this very low
level problem: I have a Vector Layer (I can't use marker class as I
hello again,
I try to realise Barts tips, but I have a little problem it doesn't work and I
don't see my fault. I can't "delete" the rounded Corners of my layerswitcher.
Perhaps somebody can give me a code example?
I try it like this in my openlayers side:
//create the layerswitcher
map.addCo
Hi!
I have no idea what is going on but I can not create the simplest WFS layer
!!
My code:
WFSOptions wfsOptions = new WFSOptions();
WFSParams wfsParams =new WFSParams();// ERROR !!!
wfsParams.getJSObject().setProperty( "typename",
"topp:zielona_openstreets");
37 matches
Mail list logo