The first time i call it a marker displayed then nothing came up after
waiting 10 seconds. I reload the link and call the function again and
now no marker shows.
In chrome it instantly displays a marker when i call it, then displays
another every 5 seconds.
Maybe 5 is too quick, but I want to aut
Hey,
link is: www.my-walk.com/addwalk.php
I have an auto marker function:
function startUpdate() {
if(navigator.geolocation) {
if(intervalLoop == false) {
intervalLoop = true;
start = new Date().getTime()
Hi guys,
The page in question is: http://my-walk.com/route.php?id=78
The page displays markers on a poly, and the markers have photos
attached to them. They are uploaded by users so I don't use any sort
of image size, I just set the content dynamically to a link so for
example one of the infowind
Hey,
My map has suddenly stopped working. (Showing blank). It was working
yesterday, and I cant remember changing anything!
Page is www.my-walk.com/addwalk5.php
The page takes markers through a form which is 4 steps long, starting at
www.my-walk.com/addwalk.php and on the 3rd page the user get
Actually yeah, hard to tell as there so close to home, but now I think
look it seems to be centering on my location.
The last calls of the map code though is
map.fitBounds(bounds);
poly = new google.maps.Polyline({
path: path,
strokeColor: "#FF"
Hey Larry,
It's the latest version of FireFox 4.0 just installed it as a new
version today. Is that the version your trying this on?
--
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-ma
Can I point out that it does this most of the time, but not always.
--
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, sen
On this page:
http://www.my-walk.com/route.php?id=60
a route is supposed to be displayed, and the map bounds to the routes
bounds. The issue is it does this correctly, but then suddenly nudges
to the right so the route is no longer in bounds.
Why is this?
Cheers,
Rick
--
You received this me
Map: www.my-walk.com/index.php
I had my map placed all fine, and I can't get my head round it but any maps
on my page are now positioned top left.
Firebug shows the styling as:
element.style {
background-color: #E5E3DF;
overflow: hidden;
}
#map_canvas {
border: 2px solid #99;
Thankyou, thats all sorted!
Another issue I've had is when I first started developing this I put the map
div inside a table as that was the only way it worked.
I've now removed it from the table, added the 'function detectBrowser() {'
property inside initialize, and within my style sheet I have
Did you manage to see anything?
Rick
--
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-api
Oh apologies!! Try it now...
Rick
--
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-api-v3
Ok so i assume you have seen the behaviour when it is commented out, Ive
uncommented it and now nothing is shown at all on the map.
You may notice Ive still comented out where I add to the array at numbers
16, 32, 33, 34 as that was still causing an issue. Annoyingly...
When this is finalised I
I want to keep all the lines saved in pathArray, so I don't want to clear it
at any time.
I just want to distinguish between when to show the poly lines within
pathArray, and when not to (conditional to their bounds).
Does that make sense Rossko?
I figured this method would cycle through and
Yeah, just changed it to this and it worked:
var coordinates = "";
:D
The issue I have now is that if the user moves the map (Google Maps 'idle'
event), the code will draw any routes of which have a center within the
current bounds. The issue here is if I move the tiniest bit, the routes are
Good to hear that wont be an issue.
Ive put an alert inside the for loop in the code above, and it is not
showing. The path error must be because the path only contaisn one
latlng value.
Why isn't it getting inside??
For my addRoutes method (Once map is idle), ive put an alert before
the poly.s
Why does that link go to google 404??
www.my-walk.com/index.php
That should hopefuly be better.
With Larrys help a few days ago I got the paths fine. Below it is
created with path.push(latlng);
var coordinates = '.$row["coordinates"].'
coordinates = coordinates
Apologies this follows on from a previous topic, but I couldnt see how
to remove the previous one, and I have a more specific error now.
Map: www.my-walk.com/index.php
Heres the code in question:
function loadRoutes() {
var coordinates = '.$row["coordinates"].'
> Also, how can I make it so it
> recalculates if a route is within bounds if the user zooms, or moves
> around the map??
I assume this part of the question is answered by the
"bounds_changed": This event is fired when the viewport bounds have
changed.
--
You received this message because you ar
Hey Larry,
If you check out the map I have it all working . All routes in the
database are shown at the bottom of the page, and when the user clicks
"show route", the route is displayed.
Big thank you for that!
Now I have added a geocoder search box. What I would like now is the
user to search f
Definitely did and it was a big help!
Ok, my map is looking nice, although it seems to set itself on the
other side of the world!?
I used the poly line stuff, that's actualy what i wanted, without the
markers. I've commented out the marker.setMap(map) lines, although the
markers are still appear
Definitely did and it was a big help!
Ok, my map is looking nice, although it seems to set itself on the
other side of the world!?
I used the poly line stuff, that's actualy what i wanted, without the
markers. I've commented out the marker.setMap(map) lines, although the
markers are still appear
Ok no worries bout the php bit.
Interestingly in the last few minutes I've got the map to show the
markers and centre around the right place. Unfortunately When
index.php is loaded up, it shows no map. when I click on a route to
show, it shows it fine on a map.
Coding can be very irritating!!
Th
Ok no worries bout the php bit.
Interestingly in the last few minutes I've got the map to show the
markers and centre around the right place. Unfortunately When
index.php is loaded up, it shows no map. when I click on a route to
show, it shows it fine on a map.
Coding can be very irritating!!
Th
This is what I have in my initialise, as far as setting the location
goes. (Global variable for university is set as: var university = new
google.maps.LatLng(52.94, -1.195);)
if(navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
This is what I have in my initialise, as far as setting the location
goes. (Global variable for university is set as: var university = new
google.maps.LatLng(52.94, -1.195);)
if(navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
26, 2:03 pm, "geocode...@gmail.com"
wrote:
> On Feb 26, 7:14 am, Rick Donohoe wrote:
>
>
>
> > Hey Guys,
>
> > Corrected that but still having issuses. Current code is:
>
> > function addMap(coordinates) {
>
> > /*coordinates
Hey Guys,
Corrected that but still having issuses. Current code is:
function addMap(coordinates) {
/*coordinates = coordinates.toString()
alert(coordinates);
*/
var coordinateString = "(18.66774725247165, -3.3367449040771535),
(54.6671516, -3.3574301),(54.675092
The & part splits them into individual markers so temp[0] would be:
"3.14, -1.2" for example
the second split then leaves the first number as the lat, and the
second number as a lng, although it should have one leading space.
Again, I read that this is no issue for parseFloat to work.
Apo
Hi guys,
Site: www.my-walk.com/addwalk.php
I have a method which takes a string of saved markers, then I want to
break it down so I can add them to a Marker array and display them on
a map.
At the moment Im using a defined marker string becuase I was having
issues carrying the marker String as a
Hi guys,
Site: www.my-walk.com/addwalk.php
I have a method which takes a string of saved markers, then I want to break
it down so I can add them to a Marker array and display them on a map.
At the moment Im using a defined marker string becuase I was having issues
carrying the marker String as
Ok heres where Ive reached...
Im using a defined marker string becuase I was having issues carrying
the marker String as a session variable into the mySQL and back, but
that doesn't relate to this group.
function addMap(coordinates) {
var coordinateString = "(18.66774725247165, -3.336744
Yes it is, to be exact:
function addMarker(location) {
marker = new google.maps.Marker({
position: location,
map: map
});
markersArray.push(marker);
}
I remember seeing the coding I could do with somewhere, im just unsur
Hey guys,
Page in question: www.my-walk.com/addwalk.php
Im using the following code to put my markers into a string so they can be
easily stored in a databse:
for (i = 0; (i < markersArray.length); i++)
{
markerString += markersArray[i].getPosition().toString() + "," ;
}
Also, I remember the reason I tried this method is that I tried your
foreach(.
method and I got an error with that just saying invalid argument.
Do you want me to re do the code back to this way, and post it back up with
the error, then you could mayb help me there?
--
You received this me
Ok page 1 -
http://www.my-walk.com/addwalk.php
Page 2 -
http://www.my-walk.com/addwalk2.php
Bascially, I want to add markers on page 1 by clicking on the map, then
press the 'proceed to page 2' link.
On page 2, I want to press 'tester' and see those same markers come up on
the map.
The test
Hey, Im trying to pass my markers array from one map o another map on the
nextpage.
Link is http://my-walk.com/addwalk.php
Ive seen (and been told) of a few ways odf doing it, but have gone through
with the one I found least confusing.
On the first page I have:
function saveMarkers()
{
Hi, my map is located at http://www.my-walk.com/addwalk.php
The user clicks points on the map to add markers. They then proceed to
step 2 by presssing the 'proceed to step 2' button.
I have a form where i want to save the markers, and display them on
the next page.
Im
Hey,
Can anyone help me with saving a Markers Array?
Heres my page http://my-walk.com/addwalk.php (apologies its at a very early
stage so theres no styling and its very basic, but easy to understand!).
Firstly, people click points on the map to make a route then save it. Im
trying to use a mul
I was wondering if anyone would like to point me in the right direction
for this.
Im wanting to make a service for walker using Google Maps API V3. I
would like to use the map where users click on certain points of a
route from start to finish.
My map will then add markers at that route, connect t
> I have experienced that some latest versions of Firefox do not support
> geolocation on file:/// protocol. You have to upload the code on a
> server to test it.
Hopefuly that will sort that out when I upload it. Nice one Esa.
--
You received this message because you are subscribed to the Goog
You've just informed me of more problems, yet still no solutions.
Lovely. I figured posting on here would bring support, not criticism,
considering Ive only been using the API for just over a day. Does
anyone ACTUALLY wish to help me here?
--
You received this message because you are subscribed
No worries, I assumed you would just be able to spot the problem from
browsing over the code I pasted in.
--
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.co
It isn't on a server, Ive just been writing it on notepad++ and
testing it with firefox. Its for a testing phase of my dissertation
project.
Can you help anyways?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to
44 matches
Mail list logo