Re: [OpenLayers-Users] dynamic map coordinated and popups

2009-12-08 Thread Kenny France
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 -26.

[OpenLayers-Users] bounds

2009-11-10 Thread Kenny France
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:

[OpenLayers-Users] Right Click support?

2009-10-09 Thread Kenny France
Char: 1108 Code: 0 URI: http://www.url.com/lib/SingleFileOpenLayers.js Has anyone successfully got a right click to work in both ie & FF ?? All I need to do is alert the lat/lng on a right click Thanks Kenny ___ Users mailing list U

[OpenLayers-Users] grouping markers

2009-10-08 Thread Kenny France
emove individual marker groups Any help in the right direction will be greatly appreciated Thanks Kenny ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] multiple layers

2009-08-05 Thread Kenny France
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 pro

Re: [OpenLayers-Users] $20 via Paypal up for grabs

2009-07-01 Thread Kenny
I am open to bids ;) Kenny -Original Message- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: 01 July 2009 03:23 PM To: Kenny Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] $20 via Paypal up for grabs On Wed, Jul 01, 2009 at 01:14:13PM +0200, Kenny wrote

[OpenLayers-Users] $20 via Paypal up for grabs

2009-07-01 Thread Kenny
radius in meters / Km with a description and colour 2) Click a link and display the circles created I am using a MySQL db and PHP Please guys this is seriously urgent Thanks Kenny ___ Users mailing list Users@openlayers.org http

Re: [OpenLayers-Users] Alignment Issue

2009-06-12 Thread Matt Kenny
On Thu, Jun 11, 2009 at 11:34 PM, Andreas Hocevar wrote: > Hi, > > On Fri, Jun 12, 2009 at 4:43 AM, Nicholas > Efremov-Kendall wrote: > > (i.e. no epsg code attachted). I've tried the reprojection (but on the > whole > > layer, I don't know if that will work) and all I get is a firebug error > > "

Re: [OpenLayers-Users] Alternative to http://t1.hypercube.telascience.org?

2009-06-06 Thread Matt Kenny
If you are interested in Spherical Mercator projected OSM data, you just grab it directly as a TMS, negating the need to host your own world file. http://openlayers.com/dev/examples/spherical-mercator.html On Sat, Jun 6, 2009 at 4:58 AM, Eamorr wrote: > > I've been using http://t1.hypercube.tel

[OpenLayers-Users] Regular Polygon

2009-06-01 Thread Kenny
has been drawn I need to be able to get the center point and radius / diameter so I can save this in my database so I can draw it later Please guys any help in the right direction will be great Thanks Kenny ___ Users mailing list Users

Re: [OpenLayers-Users] Cluster Strategy Based on Attribute

2009-06-01 Thread Matt Kenny
time. By upgrading to OpenLayers 2.8, i was able to separate the layers, while passing an array of all layers to my select feature control. Thanks again! Matt On Mon, Jun 1, 2009 at 4:17 PM, Eric Lemoine wrote: > On Thursday, May 28, 2009, Matt Kenny wrote: > > Hello, > > >

[OpenLayers-Users] Cluster Strategy Based on Attribute

2009-05-27 Thread Matt Kenny
Hello, I've got a quick question that I'm hoping someone knows the answer to. I've got a single vector layer containing both point and line features. All features have a 'TYPE' attribute. Points are either 'TYPE:COMPANY' or 'TYPE:AIRPORT', and lines are always 'TYPE:ROUTE'. I'm wondering if it

Re: [OpenLayers-Users] Circle Function

2009-04-30 Thread Kenny
map.addPopup(popup);*/ alert("Clicked"); } function onFeatureUnselect(feature) { map.removePopup(feature.popup); feature.popup.destroy(); feature.popup = null; } /

[OpenLayers-Users] Circle Function

2009-04-29 Thread Kenny
Hi Guys, I have been trying for ages and can't seem to get this working, Does anyone have a simple function for drawing a circle? I mean I want to pass certain variables via a link and it should simply draw a circle on the map. Ie: Function createCircle(lat,lng,radius,id,descri

[OpenLayers-Users] destroyFeatures Function Question

2009-04-19 Thread Matt Kenny
Hello Everyone, I have a question about the destroyFeatures function of the Vector Layer class that I was hoping someone could help me answer. I'm currently working on the following example: http://mkgeomatics.com/apps/ajax_dev/Deliverable/checkbox_form_logged_in.htmland am trying to selectively d

Re: [OpenLayers-Users] Just a simple php script instead of WFS server ?

2009-03-30 Thread Matt Kenny
I've had a need to recently do just that. I just create a GeoJSON object and pass those values into an OpenLayers.Layer.Vector I've got an example that you can view here: http://mkgeomatics.com/apps/ajax_dev/checkbox_form.html Here is an example output of a PHP script generating geoJSON from a My

Re: [OpenLayers-Users] Scoping Issue With Yahoo Geocoder

2009-02-19 Thread Matt Kenny
, Sebastian Benthall wrote: > On Wed, Feb 18, 2009 at 3:32 PM, Matt Kenny wrote: > >> Hello Everyone, >> >> I'm having some trouble passing an array of properties to points created >> with the yahoo geocoder control: >> http://trac.openlayers.org/attachment/

[OpenLayers-Users] Scoping Issue With Yahoo Geocoder

2009-02-18 Thread Matt Kenny
Hello Everyone, I'm having some trouble passing an array of properties to points created with the yahoo geocoder control: http://trac.openlayers.org/attachment/ticket/1784/yahoogeocoder.html I've got a series of address stored in a MySQL database, each of which also have a 'NAME' property associa

Re: [OpenLayers-Users] Circles

2008-12-02 Thread Kenny
Hi Mika, Christopher, I have been trying to do this for a while now and still haven’t figured it out, Mika, would it be possible for you to show us an example? Thanks Kenny -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehtonen, Mika Sent

[OpenLayers-Users] proxy.cgi on dreamhost?

2008-11-19 Thread Matt Kenny
Hello Everyone! Over the weekend, I use FWTools to create a WFS and WMS with some sample data on my shared hosting account with dreamhost.com. Both work fine when calling them from QGIS, but I'd like to use openlayers to allow users to both spatial and attribute information about my source data. I

Re: [OpenLayers-Users] Label Popup Keeps Shifting Based on Zoom Level...

2008-10-06 Thread Kenny
Can you provide us with a link so we can see the problem? Kenny -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maps-R-us Sent: 06 October 2008 04:53 PM To: users@openlayers.org Subject: [OpenLayers-Users] Label Popup Keeps Shifting Based on

[OpenLayers-Users] layer on/off

2008-10-03 Thread Kenny
Hi All, Is it possible (example) to “turn” a layer on / off without using the layers switcher on the map? I mean if I have a marker layer I can click a link and display / hide a specific layer? Thanks K- _ I am using the Free version of SPAMfighter for Personal use. SP

[OpenLayers-Users] OpenLayers Book

2008-09-29 Thread Kenny
Hi Guys, Who on the list would like to purchase a book on Openlayers? I know I would ;) Let’s see how much response there is and MAYBE Chris / the open layers team would write one Kenny PS: if you guys do, Please remember me in the credits _ I am using the free

[OpenLayers-Users] Solved: getDataExtent

2008-09-19 Thread Kenny
Its easy :-) This is the soloution map.zoomToExtent(markers.getDataExtent()); K- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenny Sent: 18 September 2008 03:42 PM To: Users@openlayers.org Subject: [OpenLayers-Users] getDataExtent

[OpenLayers-Users] getDataExtent

2008-09-18 Thread Kenny
Hi All, I have the following function that retrieve info from a xml file and displays the markers What I am trying to do is zoom to the position where the markers are I think I should be using the getDataExtent() function but unfortunately I don’t really know how to to. Could someone P

[OpenLayers-Users] Bug ie:8

2008-09-14 Thread Kenny France
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

Re: [OpenLayers-Users] Create Circle

2008-09-12 Thread Kenny France
Hi Christopher, Thanks for your reply, Do you perhaps know of a way I can pass that lat/lng and radius to a function? An alert function is good enough Thanks again I know you are busy Kenny -Original Message- From: Christopher Schmidt [mailto:[EMAIL PROTECTED] Sent: 12

[OpenLayers-Users] Create Circle

2008-09-12 Thread Kenny France
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 = point.y.toFi

Re: [OpenLayers-Users] Clear Line

2008-09-11 Thread Kenny France
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-

Re: [OpenLayers-Users] Clear Line

2008-09-10 Thread Kenny France
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 To

[OpenLayers-Users] Clear Line

2008-09-10 Thread Kenny France
LineString(pointList),null,poly_style); polys.addFeatures([lineFeature]); } //end Polys is there a way i can somehow destroy / remove the old line? Thanks Kenny ___ Users mailing list Users@openlayer

[OpenLayers-Users] Line

2008-09-05 Thread Kenny France
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: "visiblePain

[OpenLayers-Users] Custom XML

2008-09-05 Thread Kenny France
also draw a line between the points Please if anyone has any examples it would be greatly appreciated Thanks Kenny _ I am using the free version of SPAMfighter for home users. SPAMfighter has removed 39356 spam emails to date. Paying users do not have this message in their emails

[OpenLayers-Users] Ajax and markers

2008-09-04 Thread Kenny France
markers that when you click it it can call the ballon info via Ajax? Thanks Kenny _ I am using the free version of SPAMfighter for home users. SPAMfighter has removed 39356 spam emails to date. Paying users do not have this message in their emails. Try SPAMfighter <h

[OpenLayers-Users] resoloution and tile x and y

2008-08-29 Thread Kenny France
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 sam

Re: [OpenLayers-Users] lat lng from tile

2008-08-29 Thread Kenny France
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/pixe

[OpenLayers-Users] lat lng from tile

2008-08-29 Thread Kenny France
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 le

[OpenLayers-Users] Custom Map tiles

2008-08-25 Thread Kenny France
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

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Kenny France
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 pl

Re: [OpenLayers-Users] tile server for custom tiles always needed?

2008-08-07 Thread Kenny France
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] [