I got it working! It works with the listener right after the setMap().
so on the initialization function i put...
setInterval ( "refreshmap()", 7000 );
Then I toggle between the two files in the refresh function;
var toggle = 1;
function refreshmap()
{
if (toggle == 1)
{
I've tried listened for changed zooms and changed defaultviewports...
they work, but on the final map I want to preserve the viewport. Tried
that and the preserved viewport prevents the listener from firing.
Thanks for the reply Rossko, I've tried using that but can't seem to
get it to trigger.
S
Hi,
I want to reload a kml file every few seconds with the latest
generated version, this is working fine using setInterval to call the
function below. The function is removing the previous kml then loading
it again, the refresh variable is just to force the page to download
the file again...
fun
Hi,
I want to reload a kml file every few seconds with the latest
generated version, this is working fine using setInterval to call the
function below. The function is removing the previous kml then loading
it again, the refresh variable is just to force the page to download
the file again...
fun
I want to refresh on the map every 10seconds, without
refreshing the whole map.
Thanks!
Joe
On Feb 10, 8:07 am, Chris Broadfoot wrote:
> On Thu, Feb 10, 2011 at 8:59 AM, chat2joe wrote:
> > onInterval
>
> We don't support many KML features - refresh
On Feb 9, 9:58 pm, chat2joe wrote:
> Hi guys,
>
> Thanks for the replies.
>
> Firstly appologies for the example above, was tired pasting that in
> and it's an example without the refresh tags I was having trouble
> with.
>
> I've used the code from your ex
Hi guys,
Thanks for the replies.
Firstly appologies for the example above, was tired pasting that in
and it's an example without the refresh tags I was having trouble
with.
I've used the code from your example and put together this file;
http://earth.google.com/kml/2.2";>
Refresh KML
No expert here but the script must appear client-side and not be
processed on the server side... so "echo" out the javascript from the
php. I've using this on a current project, the php is changing
variables and feeding these into the echo calls for creating the
javascript.
Joe
On Feb 9, 12:19
Hi all,
I'm trying to get a set of markers in a kml file to update every few
seconds. From what I understand I should be able to import a kml which
contains a network link to another kml with the markers. The network
link will have an interval refresh.
I've tried any example I can find but it sim
Hey guys,
I've seen an example over here which follows the street layout between
two points:
http://econym.org.uk/gmap/snap.htm
Is there a way to do this with a pre-saved route rather than clicking?
I want to input bus routes on a map. 7 or 8 markers along the route is
enough to show the route ac
10 matches
Mail list logo