Hi Kesuke.
Take a look at this:
http://code.martinpearman.co.uk/deleteme/my_overlay_map/index.html
That's a working example that updates every 10 seconds.
The get_tile.php script simply creates a blank PNG tile and draws the
timestamp from the tile request onto the tile:
Martin.
On Oct 21,
Thanks again Martin, your code works flawlessly.
kesuke:
I am refreshing the tiles every 5~10 seconds and I have no problems at
all...
'Cache-Control: no-cache, must-revalidate' is specified in the server php
file.
Thanks again to everyone!
--
You received this message because you are subscri
Thanks Michael, I see...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/DBFN7U3qTwUJ.
To post to this group, send email to google
> Whatever geolocation code you put in before that, your php writes in
> the centre values here effectively hardcoded. Have you used your
> browser's 'view source' feature to see what actually gets sent to the
> browser by your php?
I forgot to mention those. I put those in there in a side expe
How does it perform in the end? I'd love to see a link as am thinking
of implementing something similar to smooth out transitions in my
custom overlays.
I was wondering whether the need for 5 second updates couldn't be
changed to perhaps 10 or even 15+? At 5 seconds isn't there a danger
than tile
> var map = new google.maps.Map(document.getElementById("map"), {
> center: new google.maps.LatLng( $row_result_loc['loc_lat'];?>, ),
Whatever geolocation code you put in before that, your php writes in
the centre values here effectively hardcoded. Have you used your
browser's '
Hi All,
I have done a few of these tutorials successfully, but I have yet to
come across a tutorial that combines these two features and I can't
seem to get there on my own. The method of populating a map with a
database full of markers that works best for me is covered in this
tutorial: //http://
Hi Larry!
Thanks for that and apologies for not seeing your reply sooner, your
work there is a tremendous help.
I am just trying to finesse it more for my requirements but once i
have produced it i post the outcome on here.
Thanks again for your effforts.
Ben.
On Oct 13, 12:40 am, "geocode...@
Just to keep this thread updated we have got my code working.
The MyOverlayMap code i posted before this thread did not properly
refresh the tile layer.
It didn't get closure on the image onload event listener in the
tileRefresh() method.
Here's the working code:
[code]
function MyOverlayMap(til
Curiously it didn't throw up the error else I would have picked it up
- but that is not necessarily suprising as it is part of a large
javascript and PHP web app with reasonable exception handling.
I agree of course from experience that it is much easier to help when
people post links. In this cas
Hi.
Try loading the Google API script before your map.js script:
http://maps.google.com/maps/api/
js?&sensor=true">
If map.js executes before the Google API is loaded then all the API
methods will be undefined.
Martin.
On Oct 20, 8:14 am, kennyhp wrot
> src="https://www.google.com/jsapi?key=ABCDEFG";>
Well that clearly isn't a valid key. First suggestion, use a key
valid for the website you are attempting this on.
If that doesn't help, provide a link to the webapge you a
Hi all,
I'm working on a web application for visualizing scientific model data
(ExtJS + PHP based). One of the visualizations is a map display where
countries are coloured based on their model outcomes, and relies on
OpenLayers combined with map baselayers from the Google API (satellite
view, for
Hi,
How do I go about contacting Google to report a website that I think
is breaking the terms of use of the Static Maps API?
Cheers,
Mike
--
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 go
I'm trying to make an application using google maps with HTML5. The
idea is then to be a native application for Android (later of iPhone),
"encapsulated" in a WebView. The problem I have is I do not read maps
API from Android device. If I test the page from Firefox works fine,
but to which I put in
That's right. I'm afraid I didn't make my original suggestion clear enough:
the code I linked to wasn't a way to make the remove-add sequence work
better, it was pointing to a way to avoid the remove and add entirely, by
adding a refresh method as you've done in your code here.
Also, David, I noti
Ok Larry, I just request to my bosses, to grant access to my machine,
from outside,
I let you know through this group when it is ready
thanks a lot
mariovi40
On 19 oct, 18:39, "geocode...@gmail.com" wrote:
> On Oct 19, 3:15 pm, mariovi wrote:
>
> > Hi Larry,
> > could you share the link to this
Thank you Rossko. I'll do that. I'm really surprised it's not an
ongoing tracking function - not sure why, but I just assumed it would
be. Thanks again.
On Oct 19, 11:21 am, Rossko wrote:
> > I just wanted to check - this is a feature of the geo-location? It's
> > not limited to each time map is
On 20 October 2011 15:29, Kesuke wrote:
> Nevermind, rewrote it and it works. From what I can see it was the
> lowercase M in math.pow().
Did that not produce an error which would help in the diagnosis?
Something like "math is not defined" or "cannot use pow() method of
null" or somesuch?
This i
Nevermind, rewrote it and it works. From what I can see it was the
lowercase M in math.pow().
On Oct 20, 2:48 pm, Rossko wrote:
> > But it doesn't work - infact, putting any code into getTileURL except
> > '{ return "/url" }' seem to make it to fail.
>
> If only we could see what "fail" meant
--
> But it doesn't work - infact, putting any code into getTileURL except
> '{ return "/url" }' seem to make it to fail.
If only we could see what "fail" meant
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group
I am trying to implement a way of hiding all the tiles on the left or
right half of the map based on a user input. It is easy to figure out
whether a tile exists on the left or right half of the projection just
by using its' x-coordinate and zoom level:
if (coord.x >= 0.5 * math.pow(2, zoom level)
I am trying to implement a way of hiding all the tiles on the left or
right half of the map based on a user input. It is easy to figure out
whether a tile exists on the left or right half of the projection just
by using its' x-coordinate and zoom level:
if (coord.x >= 0.5 * math.pow(2, zoom level)
>> Google Static Maps
But static maps won't work with custom overlays will it?
On Oct 20, 10:30 am, davie strachan wrote:
> Hi
> Google Static Mapshttp://code.google.com/apis/maps/documentation/staticmaps/
> Regards Davie
>
> On Oct 20, 1:29 am, Geoff wrote:
>
>
>
>
>
>
>
> > Is there a way to
Martin:
Thanks again for your reply!
1) I will send you the code by mail so that you can take a look, after some
minutes.
2) New files are being requested with new timestamps...
3) In my server I am using as header directives:
header('content-type:image/png;');
header("Cache-Control: no-cache,
David.
You'll have to let me have a look at your map code i'm sure to enable
me to help debugging it.
Email me a link if you can and you want to keep the URL out of this
thread.
Otherwise i'd suggest Firefox and Firebug.
Choose the Net tab then the Images sub tab.
Look for any requests being mad
Martin:
Thank you very much for your time and patience.
Currently your code loads the tiles initially, but still doesn't seem to
refresh the tiles after the 5 seconds...
(By the way, I changed:
var tileUrl = tile.tileUrl
to
var tileUrl = tile.tileURL )
I wonder why is not working, it looks ok
Hi
Google Static Maps
http://code.google.com/apis/maps/documentation/staticmaps/
Regards Davie
On Oct 20, 1:29 am, Geoff wrote:
> Is there a way to convert the google maps object into a static image
> (png, jpg, gif, etc.)? Specifically, I have a div holding a google
> maps object with all my an
28 matches
Mail list logo