Just posted some examples of moving vector markers which makes use of
externalGraphic & a dynamic rotation based style.
http://priour.wordpress.com/2009/08/21/openlayers-moving-vector-markers/
Updates the example in this message
(http://n2.nabble.com/externalGraphic-rotation-in-a-vector-layer-td
Hi everybody,
This looks like it's only on Chrome so far. If you notice it on
another browser, let the list know.
Thanks,
Chrelad
On Fri, Aug 21, 2009 at 4:18 PM, Christopher Dale wrote:
> Hey everyone,
>
> This is a wierd one, but I noticed that when I double click on the map
> the pan up imag
perhaps http://trac.openlayers.org/ticket/2148 is relevant?
On 21-Aug-09, at 3:55 PM, Michael Anderson wrote:
> Hi,
>
> I added labels to a vector layer and hooked up a ModifyFeature
> control.
> Everything works fine in FireFox. In IE 7 and 8 when you try to
> click on a
> feature to select
Hey everyone,
This is a wierd one, but I noticed that when I double click on the map
the pan up image is is selected. I've included a shot of this
happening on one of the example pages on OpenLayers.org.
http://yfrog.com/b5openlayers5g
The example page I tried this on was
http://openlayers.org/
Hey everyone,
I'm running into another problem with this way of setting the vector
layer's style. It looks like the editing handles are inheriting the
styles from the vector layer as well, which makes for some nasty
looking handles.
Anyone know of a way to directly target the vector features them
Buenas tardes a todos, saludos desde Venezuela.
Tengo la
siguiente necesidad, deseo que cuando se cargue la vista desde el
explorador al menos una capa aparezca en modo inactivo, supongo que es
algo sencillo pero me considero un novato, no tengo más de 1 mes que
comencé a adentrarme a openlayers
Hi,
I added labels to a vector layer and hooked up a ModifyFeature control.
Everything works fine in FireFox. In IE 7 and 8 when you try to click on a
feature to select it, and you click over the label, nothing happens. If the
feature is selected and you click over the label it is unselected as
Heya Everyone,
I found an example on OpenLayer's site that shows another way of
accessing and modifying properties of layers.
http://openlayers.org/dev/examples/modify-feature.html
This is the line that worked for me:
OpenLayers.Feature.Vector.style['default']['strokeWidth'] = '2';
Thanks ever
Good news,
Figured out how to at least get the navigation control in the editing
toolbar to not allow zooming via the scroll wheel until the zooming
gets fixed. After adding your Navigation control to the map, drop this
in:
var controls = map.getControlsByClass('OpenLayers.Control.Navigation');
f
Hey team OpenLayers,
Just another shot of the bug mentioned in the first message. This time
I managed to capture the panning problem as well as the zoom problem.
http://yfrog.com/15openlayers3g
Lemme know what you think and thanks,
Chrelad
On Fri, Aug 21, 2009 at 11:20 AM, Christopher Dale wro
Hi everyone,
I tested this on Chrome and it seems to do the same thing. Just
checking to make sure it wasn't a Firefox only thing.
I took a sec to record this attempt also.
http://yfrog.com/15openlayers2g
Lemme know what you think and thank you,
Chrelad
On Fri, Aug 21, 2009 at 10:47 AM, Chris
Hi everyone,
I thought maybe an example of what I'm talking about might help
everyone here get an idea of what I'm talking about.
http://yfrog.com/74openlayers1g
Let me know what you think and thanks again,
Chrelad
On Fri, Aug 21, 2009 at 10:03 AM, Christopher Dale wrote:
> Hi everyone,
>
> Co
Hi,
I am using a tiled map and it appears ok in my print preview window.
But, when it prints the map images aren't displayed on paper. Any help
would be appreciated.
Thanks,
Jim
Jim Meyer
Java Programmer
ConceptSolutions, LLC
We Make Business Intelligent
703.889.8434 [desk]
Hi all,
I'm still having troubles with my popups. I don't think I fully grasped
Eric's advice. The error I get in Safari's error console is the following
result of expression popup is not an object, referencing line 10 of my code
and line 803 of Openlayers.js (2.8). Any suggestions?
function onPo
Hi everyone,
Couple things :)
First off, I found that zooming with the scroll wheel can cause some
big headaches. Here are some of the things I ran into while zooming in
and out and panning. Note that all tests were done with Firefox 3 +
OpenLayers SVN + Virtual Earth base tiles + Spherical merca
Hi all,
I've got some reprojected GML displayed over a NASA WMS layer and I'm
noticing a very slight but apparently consistent offset of my geometry from
the underlying features. Is there anyway to apply a consistent offset to all
the vectors in the map, or do I have to re-project everything and re
Hi,
One way to accomplish this is to use a Vector layer instead of a
Marker layer and use a ModifyFeature control do move your points
(markers) around.
See an example (1). Draw a point, then using the "modify feature"
control, drag and drop your point where you want.
Best of luck,
Alexa
Hi Arthur,
check out the console tab of Firebug, and make sure XMLHttp requests are
on (check out options on the right in Firebug).
It's because OpenLayers uses POST by default for WFS, so that's why you
don't see any parameters. You will see the POST body though in Firebug.
Best regards,
Bart
I have no attributes because I use "gml_exclude_items" "all" (for now I
only need the vectors to display so I thought it was good to minimize
the request because it's a huge file). But I tried without, with
"gml_include_items" "all" and with the inclusion of the ID attribute
only, I can see all
Eric,
If I understand you correctly, every instance of feature.something, should
now be evt.feature.something?
On Sun, Aug 16, 2009 at 8:00 PM, Eric Lemoine
wrote:
> On Sunday, August 16, 2009, Nicholas Efremov-Kendall
> wrote:
> > Hi all,
> > I'm having some issues with my code, and I'm not sur
Hi everyone,
This is my first post to the list, so let me know if I'm missing
anything or could improve on my posts.
I have an OpenLayers map with two layers. The first layer contains
virtual earth base tiles (street view) and the second is a vector
layer I use in conjunction with the editing too
Your GML looks okay to me. You don't have any attributes (next to the
geometry), but that should be no problem.
Can you see the request go off with Firebug at all when adding the vector
layer to your map? Are you using a proxy in between or is the traffic
local?
Best regards,
Bart
> Indeed, I se
Indeed, I see ms:aster_gdem in the XML flow. I added featurePrefix but
it's still not working.
Maybe I did some bad things in the map file ? But if it works when I
make an URL request...
I added an ID attribute to my shapefile objects to indicate the
gml_featureid in the map file. Here is a sam
Hi list,
I want to know how it's possible to make drag and drop who work for a
marker.
Thanks
Jim
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Hi,
anyonw is using Openlayers on android ?
thanks,
Filipe
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Hi All,
Thanks Ivan for your help.
Sorry for disturbing you all. Actually i was newbie with OL and TileCache and i
was so short of time that i was putting everything on net instead of going
through documents :-)
I am sorry for that and i will right OL documents 10 times when i will be out
of
Hi,
is there any prefix used in your GML, again Mapserver defaults to ms:, so
in that case you need to add:
featureType: "aster_gdem",
featureNS: "http://mapserver.gis.umn.edu/mapserver";,
featurePrefix: "ms"
Best regards,
Bart
> Thank you !
>
> Now I think I am close but it's still not working
Hi list,
I use the 2 version and I try to put the langage in French with
OpenLayers.Lang.setCode('fr'); but that doesn't work.
Thanks for help
Jim
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Thank you !
Now I think I am close but it's still not working... Vectors are not
displayed. Do you see where I am wrong ?
var map, wms, test_WFS;
function init()
{
map = new OpenLayers.Map('map', {
controls: [new OpenLayers.Control.Navigation(),
new OpenLayers.Control.Pan
Never mind - I figured it out.
For anyone else that might need it :
var px = new OpenLayers.Pixel(event.clientX, event.clientY);
var lonlat = map.getLonLatFromViewPortPx(px);
var bbox = map.Layer.getTileBounds(px);
Where map is an instance of your OpenLayers.Map
protos wrote:
>
Hi Juan,
Here's an old OpenLayers demo using WFS-T with TinyOWS (using a
PostGIS DB) (1). You have the same example using the MapFish and ExtJS
API (2). Click on the "ModifyFeature" icon then on a feature.
See the code for more details.
Regards,
Alexandre
(1) http://dev4.mapgears.com/b
Hi,
To set a feature attributes use the property 'attributes' from the class
'OpenLayers.Feature.Vector'.
You can control the type of the transaction doing something like:
if (selectedFeature.state != OpenLayers.State.INSERT) {
selectedFeature.state = OpenLayers.State.UPDATE;
}
Some example
Hi!
To set the feature attributes use the proprerty 'attributes' from the class
'OpenLayers.Feature.Vector'.
You can control the the transaction type using something like his:
if (selectedFeature.state != OpenLayers.State.INSERT) {
selectedFeature.state = OpenLayers.State.UPDATE;
Hi Arthur,
yes the BBOX strategy will take care of that.
The GML version is determined by the protocol version, WFS 1.0 is tied to
GML2, whereas WFS 1.1 is tied to GML3. The WFS protocol version defaults
to 1.0, so you will get the Format.GML.v2 parser. So you should not need
to change anything.
Thank you for your answer.
If I understand, the BBOX strategy option will do the stuff with the
limits to take into account for not reading the whole data. I have some
other questions :
- I am not sure which URL to put for "featureNS"?
- I also had a problem of GML format : I used the option
O
Hi,
please check examples\wfs-protocol.html for the right way to do this as of
OpenLayers 2.8.
Best regards,
Bart
> Hello,
>
> I am trying to display part of the data of a big shapefile with a WFS
> request and BBOX to filter the data and display only the vectors
> contained in the map view.
>
>
Hello,
I am trying to display part of the data of a big shapefile with a WFS
request and BBOX to filter the data and display only the vectors
contained in the map view.
I just finished configuring the WFS server (Mapserver) : URL request is
working and I could read the XML that I saved in a fi
Hi,
I need to get the URL for a tile that has been clicked on - specifically the
bbox of the tile. Is there a way to get the bbox / url of a tile from any of
the event parameters ? Was looking at clientX / clientY but I haven't had
any success yet ..
Thanks in advance for any help.
Colm
Hi Bill,
Can you elaborate on this a little?
Here's my code for reference.
map = new OpenLayers.Map ("map",
{
controls:[
new OpenLayers.Control.Navigation(),
new OpenLayers.Control.PanZoomBar(),
new OpenLayers.Control.LayerSwitcher(),
new OpenLayers.Control.Attribution(),
new OpenLayers.Contr
39 matches
Mail list logo