Hi,
I am trying to do exactly the same thing L
Have you had any luck with this yet?
I am saving the data as WKT ie:
Id = 1;
Name = test;
Description = this is a test;
Coor = POLYGON((27.075439 -25.6319445, 26.909026
-26.3317325, 27.143711
Hi All,
I am trying to get the BBox of the current view by clicking a link
The following works at requesting the file
var layer = new OpenLayers.Layer.Vector(POIs, {
strategies: [new OpenLayers.Strategy.BBOX({resFactor:
1.1})],
protocol:
Hi Guys
I know this topic has been discussed may a time but here we try again.
The following code works in FF but not in IE
//Right click support
map.div.oncontextmenu = function noContextMenu(e) {
if (OpenLayers.Event.isRightClick(e)){
Hi all,
Does anybody have an example of how to add / remove groups of markers?
Say with a link / checkbox etc?
I have 100's of markers in different categories, and currently i am placing
each category on a different layer i would like to have checkboxes / links
so that I can remove
Hi guys,
I have 3 layers;
marker layer 1
marker layer 2
vector layer
Now for some reason, if I use the drawing toolbar on the vector layer, then
my markers on the marker layer cant be clicked anymore L
Is there a way i can make the marker layer active again i think this is the
Hi Guys,
I am not sure if this is a problem but
whilst testing IE 8 i get the following error and the maps won't load
Invalid Argument
VML.jsLine:43
Code:0Char: 13
URI: lib/OpenLayers/Renderer/VML.js
Kenny
_
I am using the free version of SPAMfighter for home
Hi All,
I have the following code that creates a circle using googlemaps,
GEvent.addListener(map, 'click', mapClick);
function mapClick(marker, point) {
var zoom = map.getZoom();
if (!centerMarker) {
centerMarker = createMarker(point)
map.addOverlay(centerMarker);
lat =
September 2008 13:13
To: Kenny France
Cc: Users@openlayers.org
Subject: Re: [OpenLayers-Users] Create Circle
On Fri, Sep 12, 2008 at 11:43:40AM +0200, Kenny France wrote:
Hi All,
I have the following code that creates a circle using googlemaps,
now i am rewriting my app
I am using v 2.6
I haven't tried it without clear();
But I will
K-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Andreas Hocevar
Sent: 11 September 2008 10:19
To: Kenny France
Cc: Users@openlayers.org
Subject: Re: [OpenLayers-Users
Hi All,
I have a app where i load markers with polylines from a xml file
when i click a link i load a new xml with the following function
function loadXml(url){
//Clear markers
markers.clearMarkers();
//Clear PolyPoints
pointList = [];
Fixed :)
if (lineFeature){
lineFeature.layer.renderer.clear();
lineFeature.layer.destroyFeatures();
}
was the solution
Kenny
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kenny France
Sent: 10 September 2008 16:15
Hi Guys,
has anyone managed to load a custom XML to display markers and Polylines?
my XML currently looks like this
marker
id/id
lat/lat
lng/lng
icon/icon
title/title
description/description
/marker
What I am trying to do is the following
read the XML and
could somebody Pleaase have a look at the following and tell me why its not
drawing a line?
var style_green = {
strokeColor: #00FF00,
strokeOpacity: 1,
strokeWidth: 3,
pointRadius: 6,
pointerEvents:
Hi Guys,
I have finally got my map working :) Thanks to everyone that helped me out
What i am trying to do now is...
load some markers but when you click the marker it should be able to call a
javascript function so i will need to pass a markerID somehow
has anyone been able to create
Hi Guys,
I am busy with my first OpenLayers App, and have run into a question,
I hope someone out there has a answer for me :(
I was looking at the docs, and i think i need to use the resoloution
function, but i can get it to work somehow :(
Lets say I have a tiles, 300 x 300 px
at Zoom
Thanks chris,
That's was to easy , sorry I missed it
K-
-Original Message-
From: Chris Adams [mailto:[EMAIL PROTECTED]
Sent: 29 August 2008 19:18
To: Kenny France
Cc: Users@openlayers.org
Subject: Re: [OpenLayers-Users] lat lng from tile
resolution = latLongSize/pixelSize
Hi Guys,
Im finally getting somewhere with the help of Chris Adams (Thanks Again)
I have a map gererated, that is going to ultimatly grab image tiles from my
server
I now know that if my tile is 300 Px and i need a resoloution of 5,12 dd the
calculation is
5.12 / 300 = 0.01707
In my
Hi Guys,
I am currently getting map tiles from a commercial provider, that i don't
wish to say who at this time.
i can pull single tiles from their map server but the only way i can do this
is using the following...
http://www.anotherhost.com/gettile.asp?lat=12.123456
Hi,
Please keep me informed if you manage to achieve this, I am trying to do
exactly the same, but there seems to be a lack of information on how to
achieve the desiered effect
If I find out how to do this I will let you know as well
K-
-Original Message-
From: [EMAIL PROTECTED]
Hi Christopher
Would you be able to give all us newbies a small example,
I think we are trying to do the same thing, ie:
Display our own tiles using openlayers.
If you could please point us to a tutorial that shows step by step what we
are suppose to do,
I can't figure out what tile to
20 matches
Mail list logo