![]() ![]() CodeSandbox.io Google Cloud Shell Size and complexity restrictions for KML rendering Text within a side when the feature is clicked: The following example displays KML feature featureData contains a JSON structure ofĪ sample KmlFeatureData object is shown below:.“tail.” For polygonal objects, this offset is typicallyĠ,0 but for markers includes the height of the marker. pixelOffset indicates the offset from the above.GroundOverlays, but the true origin for markers. Position is generally the clicked location for polygons, polylines, and Which to anchor the InfoWindow for this KML feature. position indicates the latitude/longitude coordinates at.Instead, asįeatures are displayed, they are rendered to look like clickableĬlicking on individual features, by default, brings up anĪdditionally, a click on a KML feature generates a KmlMouseEvent, CodeSandbox.io Google Cloud Shell KML feature detailsīecause KML may include a large number of features, you may not accessįeature data from the KmlLayer object directly. The following example constructs a KmlLayer from the given ![]() The metadata_changed event, which will indicate that the property Because rendering of KmlLayer objects requiresĪsynchronous communication to an external server, you will want to listen for You can inspect this information using the getMetadata() Immutable metadata property containing the layer’s name,ĭescription, snippet and author within a KmlLayerMetadata object The KmlLayer should not trigger the display ofĪdditionally, once the KmlLayer is rendered, it contains an suppressInfoWindows indicates that clickable features within.Map is zoomed and positioned to show the entirety of the layer’s ![]() By default, when displaying a KmlLayer, the
0 Comments
Leave a Reply. |