Hi Jan,
I search for a solution but without success... I tried some scripts
but it was the same result... nothing!
I think it is not possible to define a background picture for a
polygon but only for features like points...
And unfortunately, I have no other options for now ...
Best
Eric Lemoine a écrit :
On Monday, August 31, 2009, Guillaume Sueur no-re...@neogeo-online.net
wrote:
Setting maxResolution after adding layer to the map did the trick.
Setting maxResolution in the config object passed to the constructor
it does not
should work. If it does not, I guess
Hi all,
I'm trying to export kml using 'write' function. The kml file is generated but
it doesn't contains any style information (color, image etc.) and it's
represented on Google Earth as a white line.
How can I put the style information in the file?
Here is just a part of my code:
var gml3
Hi,
your question was already answered yesterday, can you please stop
reposting this question? TIA.
http://openlayers.org/pipermail/users/2009-August/013525.html
Best regards,
Bart
Hi all,
I'm trying to export kml using 'write' function. The kml file is generated
but it doesn't contains any
Hi,
I have this WFS layer from my UMN-Mapserver
//Vector layer style
var area_style = OpenLayers.Util.extend({},
OpenLayers.Feature.Vector.style['default']);
area_style.strokeWidth = 1.5;
area_style.strokeColor = #ff;
area_style.fillOpacity = 0.75;
//Layer definition
qAreas
Hi list,
I´m actually implementing a drawfeature-control for my web-GIS. Everything´s
working fine so far but now I want to add a little more functionality:
- the user should be able to specify the appearance of the features he´s
adding. This shall only have an effect on the features he´s adding
Hi Alessio,
You can define a style and, depending a context, assign different value.
Here is an example that change the fillcolor of feature depending on the
attribute state of each feature.
Note that the context is automatically applied to features. Nothing to
activate ;)
new
Hi,
I think you have to look at www.openstreetmap.org
Else, you have to googlise public wms and the first result seems to be
useful http://www.skylab-mobilesystems.com/en/wms_serverlist.html ;)
Best Regards,
Jérome
balachandra maddina wrote:
Hi There,
Im pretty new to maps(gis
Hi Max,
Here's an old demo that could help you for some of your needs :
http://dev4.mapgears.com/bdga/bdgaWFS-T.html
Simply click on a feature. This demonstrate a way to edit feature's
attributes in a form. If your data is stored in a DB, you don't need to
take care of the id
Hi Jerome,
probably I don't understood exactly how to apply your suggestion...
If I use new OpenLayers.Style I can't apply any style to my features.
The only way to style them appear to be:
OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default'])
So I need to do something like
Try to apply a stylemap to your vector layer.
// Creation of a stylemap
myStyles = new OpenLayers.StyleMap({
default: new OpenLayers.Style({
strokeColor: ${getFillColor},
fillColor: ${getFillColor},
strokeWidth: 2,
strokeOpacity: 1,
Jerome,
I don't know anything about your application and the infrastructure
that you are running it on. If you are using MapServer to serve WMS
or WFS layers to your OpenLayers app, I have a different approach that
could work for you.
Instead of using an OpenLayers vector layer, you could use a
Hi Alexandre,
I got it working now. The Problem was that in the function that was
triggered by the featureadded-event I tried something like feature.id and
not evt.feature.id.
I registered the event via
drawFeatureControlName.events.register(featureadded, ' ' , function).
But, as always, one
Jerome Freyre wrote:
Try to apply a stylemap to your vector layer.
Yes! It worked :D
Thank you very much Jerome
--
View this message in context:
http://n2.nabble.com/Style-WFS-layer-by-attributes-tp3559456p3560917.html
Sent from the OpenLayers Users mailing list archive at
Hello everybody,
I'm setting up a map which uses markers, and when the user clicks the marker an
information box is loaded with an ajax request.
I need to identify the markers (the ID of the ddbb row for example) so I can
retrieve the right information from the ddbb.
Right now I'm using the
Kevin Yang wrote:
Hello everyone,
A problem troubled me for a long time. Can OpenLayers APIs merge line
features ?I use this function to solve the following problem: When I
calculate the shortest path, I get the WKTs of the LineStrings, but it is
not arranged in sequence.So I cannot use
Hi All,
I created a new SR-ORG id on spatialreference.org
(http://www.spatialreference.org/ref/sr-org/6728/proj4js/)
but now, I need to revise some of its definition (proj4js's +lat_ts=90 needs
to be +lat_ts=60 ).
Also, must one absolutely go through the WKT definition to define the SR-ORG
On Tuesday, September 1, 2009, Jo Cook j.c...@oxfordarch.co.uk wrote:
Dear All,
I am using revision 9635 of openlayers (via the MapFish svn), and have just
created a single file library for openlayers to speed up this page:
http://mapdata.thehumanjourney.net/vgswandb_new.html
In IE7
18 matches
Mail list logo