Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Discussions > Advanced Support for KML > How can i manipulate a kml/kmz file on google maps v3? the kml file has a lot of layers and i need to manipulate each one
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nacho  
View profile  
 More options Mar 27 2012, 9:57 pm
From: Nacho
Date: Tue, 27 Mar 2012 18:57:43 -0700 (PDT)
Local: Tues, Mar 27 2012 9:57 pm
Subject: How can i manipulate a kml/kmz file on google maps v3? the kml file has a lot of layers and i need to manipulate each one

How can i manipulate a kml/kmz file on google maps v3? the kml file has a
lot of layers and i need to manipulate each one

I have this:

*var Layer = new
google.maps.KmlLayer('http://mysite.com/beta/maps_xml/it<?php echo $it;
?>/it.kmz');*
*Layer.setMap(map);*

And now how can i manipulate it? (Poliline)change color, (Markers)change
icons, show/hide each layer, get layers names


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rossko  
View profile  
 More options Mar 29 2012, 4:39 am
From: Rossko
Date: Thu, 29 Mar 2012 01:39:07 -0700 (PDT)
Local: Thurs, Mar 29 2012 4:39 am
Subject: Re: How can i manipulate a kml/kmz file on google maps v3? the kml file has a lot of layers and i need to manipulate each one

> And now how can i manipulate it? (Poliline)change color, (Markers)change
> icons, show/hide each layer, get layers names

That's a question for a Maps API v3 forum, but you won't be able to
use KmlLayer if you want to override how things are rendered instead
of usingt he KML as it is.  There are alternate client-side KML
parsers for the API, or you can write your own.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »