[Google Maps API v3] Re: remove marker when within radius

2011-05-01 Thread fireofhellx
+ (latLng.lng() - vertex1.lng()) / (vertex2.lng() - vertex1.lng()) * (vertex2.lat() - vertex1.lat()) < latLng.lat()) { inPoly = !inPoly; } } j = i; } } return inPoly; } is there something like this for the .Circle? On May 1, 5:58 pm, fireofhellx wrote: &

[Google Maps API v3] Re: remove marker when within radius

2011-05-01 Thread fireofhellx
this is my script http://dannyw.instantfreesite.net/game.html ive been trying the method u have suggested and its not working for me im not sure why. any suggestions? it doesnt even seem to like computeDistanceBetween; On May 1, 2:17 pm, fireofhellx wrote: > thanks for the information its m

[Google Maps API v3] marker not passed?

2011-05-01 Thread fireofhellx
i have a very odd issues that seems to have started today i have a marker that is passed into another function so it tracks a users position but from today it seems that the marker is not passed into the next function function initialize() { if (navigator.geolocation) { navigator.geolocati

Re: [Google Maps API v3] remove marker when within radius

2011-05-01 Thread fireofhellx
thanks for the information its many markers because like i said its a prototype game could you explain how i would use a quad-tree structure -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to

[Google Maps API v3] remove marker when within radius

2011-04-30 Thread fireofhellx
ive been posting a lot of question on here lately so sorry if people are getting sick of me i just keep getting suck and not finding much help from my searches. so im making a game using google maps where the user has to get collectables by moving around their location (this is a mobile web app) t

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
ty very much it was the fact i have the ve epoly loading before the api works perfect now you have been a big help -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googl

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
oh right i see what u mean sorry im still very new to this -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
this may seem like a silly question but when dose the API finish loading? because i can get markers and polylines to show i thought once you had made the map the api was loaded ? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
ah i see thank you very much for your help just to note this project is a university project into the nature of user interaction with mobile apps, and to what extent a user is willing to physically interact within the really world to play within a virtual one, hence the location tracking and th

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
ok that odd you need to let it use your location because thats how i have designed it if u let it use your position you should see the polyline i know my code is a mess this is the first big project ive done using javascript in this manor -- You received this message because you are subscrib

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
ok ty from line 341 and below is the polyline stuff http://dannyw.instantfreesite.net/game.html i think u may have looked my site before for a different question a week or so back -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group

[Google Maps API v3] Re: putting markers on polylines

2011-04-29 Thread fireofhellx
yeh i need to make markers a short distance apart prob more like 15 meters apart but i cant seem to get GetPointsAtDistance to work so im a bit stuck here is what i have my polyline var roadpath = new google.maps.Polyline({ path:latlng, strokeColor: "#FF", strokeOpacity: 1.0,

[Google Maps API v3] Re: putting markers on polylines

2011-04-28 Thread fireofhellx
ummm ive linked the epoly.js file (the updated one)but cant seem to get the functions to work? my polyline is called roadpath ive written var collectables = roadpatht.GetPointsAtDistance(5.00); but it stops at this line -- You received this message because you are subscribed to the Google Gr

[Google Maps API v3] Re: putting markers on polylines

2011-04-28 Thread fireofhellx
ok thank you very much for your help its alot clearer what i need to do thanks Danny -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe f

[Google Maps API v3] Re: putting markers on polylines

2011-04-28 Thread fireofhellx
), len = a.getLength(), dist = 0; for(var i=0; i wrote: > On Apr 28, 9:23 am, fireofhellx wrote: > > > right i have made a number of polylines but want to know how i would go > > about adding a marker to them every 10 meters? > > ive been looking around and havent found any

[Google Maps API v3] putting markers on polylines

2011-04-28 Thread fireofhellx
right i have made a number of polylines but want to know how i would go about adding a marker to them every 10 meters? ive been looking around and havent found anything that orks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.

[Google Maps API v3] Re: polyline loop

2011-04-23 Thread fireofhellx
i am still new to google maps and javascript, however all of my code is just to get the information from my xml and display the polyline, from what i can see my issues is that im passing a var called "cords"(on line 295) which contains a lat and lng value in this format (lat,lng) so when i do "a

[Google Maps API v3] Re: polyline loop

2011-04-23 Thread fireofhellx
i know but ive had to use a lot of loops to get information out of a massive xml file and ive found document.write is useful to debug within loops. i think i have comment out all of them now sorry for the inconvenience Danny -- You received this message because you are subscribed to the Go

[Google Maps API v3] Re: polyline loop

2011-04-23 Thread fireofhellx
ok ive hard coded the location. i have build the whole thing around the users location so you need to except the geolocation however it will centre the map in the location the polylines should appear hope that helps you help me -- You received this message because you are subscribed to the Goo

[Google Maps API v3] Re: polyline loop

2011-04-23 Thread fireofhellx
oh sorry forgot to mention this going to be for mobile ill just sort that now -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this

[Google Maps API v3] polyline loop

2011-04-23 Thread fireofhellx
ok so the issues im having it trying to get an array of latlng's to plot as polly lines there are about 72 lines in this array i need to plot but im having issues i know it needs to loop somewhere but unsure where im still new to google maps and javascript so any help would be amazing so here

[Google Maps API v3] Re: smooth marker movement

2011-04-19 Thread fireofhellx
sorry the link ive put up is to my project i have a .watchPosition tracking the user what i want is when the users position moves for the marker to smoothly travel from the old location to the new instead of jumping. hope that makes sense On Apr 19, 10:21 pm, fireofhellx wrote: > h

[Google Maps API v3] Re: smooth marker movement

2011-04-19 Thread fireofhellx
http://dannyw.instantfreesite.net/game.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-

[Google Maps API v3] smooth marker movement

2011-04-19 Thread fireofhellx
im making an iPhone web app that tracks the users position is there any way to make the marker that represents the user move smoothly across the map as they move. like what happen within the google maps app. because at the moment my marker jumps from position to position -- You received this m

Re: [Google Maps API v3] Re: tracking a user

2011-03-09 Thread fireofhellx
got it working now thank you very much -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-ap

[Google Maps API v3] Re: tracking a user

2011-03-09 Thread fireofhellx
yeh i need to change it so it moves the marker and not make a new one each time but im unsure how to do this -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroup

[Google Maps API v3] Re: using get&watch position

2011-02-23 Thread fireofhellx
thanks for that but still having issues with using both together. i have sort of got them both working but now i cant get a marker to go on the map (i think im just being dull) but here is wht i have done (ive most likely gone about this the wrong way but im new to all this and it sort of works)

[Google Maps API v3] using get&watch position

2011-02-19 Thread fireofhellx
hi im trying to use getCurrentPosition and watchPosition at the same time my need for this is to set up the map centre on the user then for the user to move around the map with out it refreshing every time the user moves this is what i have so far im just having problems adding in the getCurrent

[Google Maps API v3] getCurrentPosition & watchPosition

2011-01-12 Thread fireofhellx
what i is to get the users position and set that as the maps center but then track the users position then when the users gets to the edge of the viable map area for it to re-center on their position. i have been trying to use the .getCurrentPosition and .watchPosition at the same time and was

[Google Maps API v3] Re: spamming markers on roads help

2010-12-02 Thread fireofhellx
that is just what ive been looking for thanks a lot. you have saved me a lot of frustration -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubsc

[Google Maps API v3] Re: spamming markers on roads help

2010-12-01 Thread fireofhellx
ok so the link from Larry was very helpful however i need to place markers on the roads around a user no matter where they are so currently im using watchposition to get the users location what i then need to happen is to some how get all the properties of the roads around the user (ie length of

[Google Maps API v3] Re: spamming markers on roads help

2010-11-20 Thread fireofhellx
something alone those lines thanks thats a big help -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to goog

[Google Maps API v3] Re: spamming markers on roads help

2010-11-19 Thread fireofhellx
oh this might help im basically trying to make a game so the spammed markers will become collectables i dont know if this help im still relatively new to using google maps (sorry if the solution to this is really basic and this question is just a wast of time) -- You received this message because

[Google Maps API v3] spamming markers on roads help

2010-11-19 Thread fireofhellx
im currently working on a project for uni using google maps i want to spam markers all over the roads with a set distance between each one, also the markers need to refresh when the map recenters (this is for a mobile device and im tracking the users position) ive been looking online and ive not fo