kml

How to remove information from info window (on a KmlLayer)

大憨熊 提交于 2020-01-16 19:39:13
问题 I am working with a Google Map API and I have imported a kml layer into my code.My problem is that I don't know how to remove the 'Unknown Point Feature' information from the info window. Any suggestions? here is a screenshot of what I am talking about: This is my code for importing the kml file: var AI_url = 'https://drive.google.com/uc?export=download&id=0B2KR4Lz3foYEeEtfR0laWWM0LVk' var AI_options = { preserveViewport: true, map: map }; var AI_layer = new google.maps.KmlLayer(AI_url, AI

How to change opacity of image imported as Icon in KML document?

安稳与你 提交于 2020-01-15 09:25:49
问题 I am trying to modify the opacity of an image imported as an icon in a KML document. How do I achieve this objective ? Please be patient with me, I am a beginner in programming. As per Google's documentation I have tried to use Style and IconStyle tags around the Icon tag and mentioned opacity0.4opacity as well as color#64ffffffcolor and color#66ffffffcolor but it doesn't work. I have also tried to insert only opacity or color tags around the icon without the Style and IconStyle tags, it

Whats the best pratice to show multiple placemarks with photos inside of the ballons?

北战南征 提交于 2020-01-14 14:22:11
问题 I have a project as follows: Several photos are taken from a mobile, the photos are saved in a web system, which in turn displays the photos on google earth that is inside it. I've read many articles but all of them were using fetchKml, one good article that i've read was using php, but using fetchKml. I dont know if its possible using parseKml instead. Anyway, I'm not sure how to do this with the kml, so it looks tike this: My Class KMLGenerator() public static String getKMLFromObra (List

Whats the best pratice to show multiple placemarks with photos inside of the ballons?

。_饼干妹妹 提交于 2020-01-14 14:22:08
问题 I have a project as follows: Several photos are taken from a mobile, the photos are saved in a web system, which in turn displays the photos on google earth that is inside it. I've read many articles but all of them were using fetchKml, one good article that i've read was using php, but using fetchKml. I dont know if its possible using parseKml instead. Anyway, I'm not sure how to do this with the kml, so it looks tike this: My Class KMLGenerator() public static String getKMLFromObra (List

Issues with KML Layers limit

半城伤御伤魂 提交于 2020-01-14 10:27:28
问题 I have loaded 6 kml layers via url to my website to be toggled off/on by checkboxes. I have recently notice though, that it will only allow me to show 4 kml's at a given time. When I select more than 4 the 5th and 6th does not show. It does not matter what ones I choose, it seems to limit me to only showing 4. Can someone direct me on what may be causing this or should I be coding this some other way? The kml's by themselves do work and are under 800kb. Is just seems very weird that I can

Does Google Maps support KML regions?

柔情痞子 提交于 2020-01-13 18:58:50
问题 Does Google Maps support KML regions like Google Earth does? Google gives a nice description/tutorial of regions here: https://developers.google.com/kml/documentation/regions which mentions Google Earth specifically, but not Google Maps. According to https://developers.google.com/kml/documentation/kmlelementsinmaps Google Maps DOES support KML regions, but https://developers.google.com/kml/documentation/mapsSupport doesn't mention them explicitly. Zoom levels in kml files on google maps is

Maps API v3: New InfoWindow, with pixelOffset, w/ data from KML.

二次信任 提交于 2020-01-13 18:09:35
问题 Hello: I'm making progress on my Google Map (see my previous post: KML markers missing on Google Maps API v3: What's wrong?), but I'm now stuck, and hoping for help. My custom-styled map pulls from a KML file with about 20 Placemarks. For design reasons, I want my Placemarks to open on the RIGHT side of the anchor, rather than the default top/center. I've tried searching in vain for a simple way to do this; closest I've come is: Issue with infowindows remaining active when another KML layer

Linking to kml/kmz files on Google Drive

本秂侑毒 提交于 2020-01-13 17:45:07
问题 I've saved kml and kmz files in a file cabinet in the old Google Sites. I copy the permalink to these files and paste it into the search box on Google Maps to overlay the placemarks. I've saved a test kml file in a folder on the new Google Drive, but I can't figure out how to get a permalink that I can paste in Google Maps. I found this link https://webapps.stackexchange.com/questions/26371/how-do-i-share-a-permalink-from-google-drive and used it to create this permalink https://docs.google

Kml layers doesn't update when reloading the page

社会主义新天地 提交于 2020-01-11 08:23:34
问题 [EDIT] it seems the problem comes from google maps which takes some time to update the KML link...I'm not sure, but in the end, it works...[/EDIT] I embedded an existing public google map on this website : http://www.ridetheflavour.fr Here is the link of the public map : https://maps.google.fr/maps/ms?msa=0&msid=211027213468691902621.0004c8616605648d245b2 As you can see, the markers of the website's embedded map don't match the public google map markers. It seems it's not a matter of browser

Text Overlay in Google Earth KML

末鹿安然 提交于 2020-01-11 06:24:13
问题 I would like to add a date/time that the KML file was last updated to be displayed as an overaly in Google Earth, is there anyway this could be done? I would be looking at updating text in a KML file and then this being displayed in google earth. Many Thanks. 回答1: One trick is using the Google Chart API to dynamically create images from text and using that as a screen overlay image in Google Earth. Example: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2">