Where can I find a list of valid style properties?
--
View this message in context:
http://n2.nabble.com/Style-properties-tp2267541p2267541.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
___
Users mailing list
Users@openlayers
Christopher
I am still in the (re)development stage, implementing OpenLayers and due to
all the dependencies on the page (.NET WebServices /AJAX / obout / GIS
backend...) don't have a page I can link to. Also we run a subscription
service for property information / valuations so don't want to put
Hi Bradley,
according to my knowledge, Google Maps have fixed zoom levels, so you
can't get precise zooming when referring to your wms polygon layer. This
is just something you have to live with.
- mika -
Bradley McLain kirjoitti:
> Hi all,
>
> What i am looking to do is have my map automatica
Hi
In the loadend listener you can do the following to zoom to the
smallest extent bounding the loaded features:
map.zoomToExtent(gmlLayer.getDataExtent());
Cheers,
Eric
2009/2/3, ppafin :
> Hi,
>
> I've been experimenting a lot with openlayers and I am able to produce
> markers and loading KM
Hi all,
What i am looking to do is have my map automatically re-size itself based
off a WMS layer which is being overlayed on top of a Google Map layer.
The WMS layer is generated using the filter option to only get specific
polygons.
What i would like to do is have the map re-size to zoom itsel
Hi David,
David Martin wrote:
> Do you need a copy of the mod? I installed it directly in the single file
> build and could copy out the lines if you need it.
>
I'm in a similar situation: I need to solve the problem pretty much
immediately with no time for a clean and well tested patch and w
On Wed, Feb 04, 2009 at 01:06:58AM +, Dave Potts wrote:
> >"As of OpenLayers 2.7, there is no support for selecting features from
> >more than a single vector layer at a time. The layer which is currently
> >being used for selection is the last one on which the .activate() method
> >of the atta
Christopher Schmidt wrote:
On Wed, Feb 04, 2009 at 01:00:10AM +, Dave Potts wrote:
Is it possible to have to vectore features active at the same time and
be able to select on both at the same time?
I have a map loaded with a map base layer and two vector feature layers.
If I install a
On Wed, Feb 04, 2009 at 01:00:10AM +, Dave Potts wrote:
> Is it possible to have to vectore features active at the same time and
> be able to select on both at the same time?
>
> I have a map loaded with a map base layer and two vector feature layers.
>
> If I install a different callback fu
Is it possible to have to vectore features active at the same time and
be able to select on both at the same time?
I have a map loaded with a map base layer and two vector feature layers.
If I install a different callback function on both layers only the last
declared one seem to work? ie its
Roald,
No tidy solution - I have just left the try-catch solution in my production
system and it seems to be working well. I do understand the problem and will
work on it some more in due course. At the moment I am focused on many other
projects however a major product update in one of my OpenL
I'm finding some success by adding the destroy() command like so.
function click_feature(feature) {
var selectedFeature = feature;
var url = '/feature/' + selectedFeature.data.slug;
index_map.destroy();
window.location.href = url;
return false;
}
But I ho
Hello everybody.
In my project all the data cover a small part of Italy so the maxExtent is
set to this area; now, if I use a WMS layer with a bigger extent then this
one (Europe), it get cutted.
I tried to set the maxExtent of the project to Europe, but then all layers
load a lot of transparent
Ok, that sounds like an idea.
I´ve been reading a bit more about JavaScript-development in general. So I
developed the following change in the setHTML-function that allows me to
show a picture when the function is executed.
>>>
function setHTML(response){
var img = document.createElement("img
Also,
you could concentrate on your css styles. I really don't understand
them, but they have something to do with the functioning. If I add
'ItemInactive' into your style in Firebug, the button works. Maybe *someone
could explain* this button thing to us who don't get it. I have
been using th
Hi,
Your code snippet for google epsg:4326 and your wfs works. I have tried.
Also the WFS request
http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?typename=OWLS&SERVICE=WFS&VERSION
=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A4326&BBOX=-205.46875,-45.46875,5.46875,
165.46875 returns the features.
The problem
Dear Till and Arnd,
thank you for your hints.
>Just add the 900913 def to your local epsg file and add the epsg code 900913
>to your mapfiles header should do the job...
I tried that but so far with no success, and I wonder if it should work also
with 4326, because I reprojected the whole Map
Hi,
Perhaps you have to activate the control:
panel.activateControl(button);
Arnd Wippermann
-Ursprüngliche Nachricht-
Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im
Auftrag von JuergenL
Gesendet: Dienstag, 3. Februar 2009 19:56
An: users@openlayers.org
Betr
I gave this a try and it worked great in FF, but, again, crashed in IE6. What
happens is that it throws a "Failed" error as you jump from the first page
to the next. Again, working the first time, but screwing up the page if you
hit the back button and return or otherwise reload it.
I ran the rou
Hi,
I'm new to OpenLayers and I try to add my own button to OpenLayers
that calls a JavaScript function when clicked. The button is visible
but nothing happens when I click on it.
That's how I define the button:
var panel = new OpenLayers.Control.Panel();
var button = new
Now the proxy script is working OK (http://84.205.237.73/script/proxy.py),
thanks to:
http://python.markrowsoft.com/iiswse.asp (very detailed info about python
setup in Win Server 2003 with IIS6)
But we still don't get any answer to our GetFeatureInfo request.
Specifically, we get the following me
I just downloaded the trunk and took a look at SelectFeature.js. Clearly I
misunderstood how it's supposed to work. It looks like there is a strict
either/or enforced that doesn't anticipate my -- perhaps crazy -- desire to
allow for both hovering and clicking action.
Would it be possible to eit
Hi Kai,
I would think, that the dir /proxy/ is not reachable. Try it with the
cgi-bin dir.
Your wfs is availible. On Google and EPSG:4326.
Arnd Wippermann
-Ursprüngliche Nachricht-
Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im
Auftrag von Kai Behncke
Gesen
Kai,
looksl ike you trapped into the problem of the google projection, because
google's data aren't in 4326,
they have their own projection and u have to reproject your stuff to the
googles stuff
(google at epsg code 900913 - oir there is a new one I do not know yet...)
Just add the 900913 def to
I've tried to come up with something similar myself -- and run into IE6
problems. My attempted solution was to use SelectFeature with a variety of
select and click functions like so
function show_feature(feature) {
var selectedFeature = feature;
var feature_name = selectedFeature.
Turns out there were some hidden characters "" at the beginning of the SLD
XML file. I don't know how they got there, and you can't see them in notepad,
wordpad, XML Copy Editor, etc...thanks to Aleda for finding them! So I started
with an SLD file that DID work, deleted everything but the
Dear Users,
I dived deeper in the WFS-logic of Open Layers.
I`m pretty sure that the WFS is not visualized because I didn`t have a
OpenLayers.ProxyHost.
Now I test the examples/wfs.html locally on my machine.
I wrote
OpenLayers.ProxyHost="/proxy/proxy.cgi?url=";
and I copied the proxy.cgi out
On Tue, Feb 03, 2009 at 08:58:38AM -0600, Brad Eckrose wrote:
> I would like to see OpenLayers handle RPC bindings in some fashion.
> Not all GISes are MapServer and not all interaction with a GIS server
> should be enumerated in a javascript API.
I think I agree with this statement. This is the e
Alexandre,
Thanks so much! I like your highlighter, very nice - but the key was
the layer.getFeatureFromEvent method that I didn't know existed. That
does exactly what I need.
Jesse
On Tue, Feb 3, 2009 at 9:13 AM, Alexandre Dube wrote:
> Hi Jesse,
>
> What I did to accomplish this is a custo
I would like to see OpenLayers handle RPC bindings in some fashion.
Not all GISes are MapServer and not all interaction with a GIS server
should be enumerated in a javascript API.
I think both endpoints are problematic On the server, you need an API
that can handle the request as easy as the Java
Hello again,
I have already a problem with the sld using in ArcServer. I made a php file
which should make an sld. I have taken it to the mail. This file gets some
attributes from the database and creates the filter and polygon symbolizers and
so on. I have realised the same thing for the UM
Hi Jesse,
What I did to accomplish this is a custom "HighlightFeature" control.
You can have it and a SelectFeature at the same time.
See an example :
http://dev.openlayers.org/sandbox/adube/openlayers/examples/highlight-feature.html
See an example with SelectFeature at the same time :
http:/
Thanks Eric,
I wasn't sure if dumping a bunch of code to the list would be useful.
Essentially, I just copied the Hover Control from the example page
(http://openlayers.org/dev/examples/hover-handler.html) and tried to
copy the stuff from the SelectFeature Control (in the source).
Testing it, I
On Mon, Feb 02, 2009 at 10:23:16PM -0800, Lasith Chandrasekara wrote:
> <<
>
> When you say 'mapserver', do you mean "MapServer"? Wrapping that up in
> SOAP and using that from Javascript sems like a terrible way to go...
> >>
>
> Here what should be the most hard thing?
> Wrapping MapServer func
Dear Users,
In the OpenLayers Tutorium I read that it`s possible to include and visualize a
WFS, but somehow it doesn`t work with mine.
The WFS (via UMN MapServer) seems to be correct:
http://85.214.90.79/cgi-bin/mapserv_ol.sh?SERVICE=WFS&VERSION=1.0.0&Request=GetFeature&Typename=gastronomie_w
I have come up with my own solution. Is there a better way of doing this?
var panZoomBar = new OpenLayers.Control.PanZoomBar();
map.addControl(panZoomBar);
for (var p = 0; p < 4; p++) {
panZoomBar.buttons[p].style.display = 'none';// Don't dispaly
panning buttons
}
panZoomBar.div.styl
Max,
in general you need to define your output format which comes back from
Geoserver as text or Xml or whatever - then you may parse the backcoming
stuff and put the URL in an html image tag - basically you can see what to
do regarding the OL featureinfo example::
you must do alter it at the pla
Hi, you might check this out:
http://openlayers.org/dev/examples/GMLParser.html
(make an getFeatureInfo in GML format by changing
info_format=application/vnd.ogc.gml, and then parse it with
Format.GML)
Cheers
On Tue, Feb 3, 2009 at 11:10 AM, Max Stephan wrote:
> Hey everybody!
>
> I got a shape
Hey everybody!
I got a shapefile here which I added to my geoserver. I have integrated it
as a layer in an openlayers map container. In the attributes of the
layer/shapefile is a field which contains an URL to a pic of each feature
(in this case the features are points). Now I want this picture to
I have come up with the following solution which is working great:
var map, streetNumbers, erfNumbers;
...
function init() {
...
map = new OpenLayers.Map(...);
...
streetNumbers = new OpenLayers.Layer.WMS("Street Numbers", ...);
...
streetNumbers.events.register('visibilitychang
Is it possible to have the Zoom Bar control without the Pan arrows?
--
View this message in context:
http://n2.nabble.com/Zoom-bar-without-pan-controls-tp2262405p2262405.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
___
User
41 matches
Mail list logo