Errors rendering kmz in V3 - google-maps-api-3

I'm working on a project for flood mapping and have a bunch of kmz files which when viewed in Google Earth render fine, but not when displayed in Google Maps api v3.
The kmz holds polygons showing flood stages over a lake, and in Google Earth islands on the lake are "holes" in the polygons since they never flood. When displaying the kmz in google maps though, the holes become filled in.
Not sure what's going on here, can anyone help? The maps were created using ArcMap tools from shapefiles.
Here's a link to one of them: http://www.frontiernet.net/~wfobtv/inundation/combined/103.kmz
Copy the url into google maps to see what I mean.
Thanks!

Related

I want to show landsat image on map ( web app )

I'm trying to build a web app showing satellite imagery on a map in the browser.
I have images like landsat retrieved from the Google Earth Engine API (python)
or from planet API.
I can show a Google Map by using the Google Map API (HTML or JS) or I can use another map API.
How can I show satellite imagery on any map in the browser?
As long as you match the projection of your satellite images to your map's projection, you can overlay the image on top of your map with top-left/bottom-right coordinates. If your image is too big, you might want to tile it to smaller images at different scales. Here are a few projects that you can take a look.
https://viewer.remotepixel.ca/ (code: https://github.com/RemotePixel/viewer.remotepixel.ca)
https://www.mapbox.com/

How to extract markers from styled Google Maps (www.oilsandsmagazine.com)

I would like to extract the marker locations from this Canadian oil sands mines map.
The markers are static PNGs hosted on Squarespace linked via bit.ly.
This XHR trick didn't work in that case.
May you please help me?

How to show map with 3D buildings with google maps js api

I am building a web-page using Google maps js api. I need the map type which shows all 3D buildings view provided by Google earth, just like the Google's map application where you can see all 3D buildings in the earth view.
I don't want to use the Google earth API because it's deprecated.
Any way to achieve that?
Google seems to be silent about 3D features in Javascript API. Closest I can get to this are Styled Maps but nowhere does it specifically indicate 3D. Only Android implementations are available as of now.
At this moment, the javascript API generates 3d buildings in map-view, with no option to turn this off.
The google maps website shows 2d buildings, which includes housenumbers. This information seems more accurate than the 3d-buildings map-view. But the options to toggle between various map layers is a long standing omission in the javascript API.

Can you change the view in Google Earth API from "Earth" to "Map" like in Google Maps?

I am developing a web page which uses the Google Earth plugin. I would like to display the map like in the first image with the "Earth" and "Satellite/Map" view options like you can in Google Maps, or at least be able to just show the map in "Satellite/Map" view:
Currently this is what the view looks like:
Is this possible?
Yes, you can use the Google Maps V3 to switch between Google Maps and the Google Earth Plug-in.
The google-maps-utility-library-v3 can be used to make this easier.
You can see a working example here.
Alternatively you can simulate a reasonable map view buy just turning of the terrain and photo imagery and turning on the borders and roads layers in the Earth Plug-in. If you then lock this view to 'plan' it works well.

Switch between google maps and google earth

Using a KML file I can show Google Earth in website. Now, can anyone give me idea to implement following specification?
I need following buttons above the Google Earth plugin
a. User must be able to switch between map and earth.
b. User should be able to save and download the map or earth as image
So we have to use same KML file (that is used for google earth) to show google map. After that google earth or the google maps have to be saved as image.
As per i know,same kml will not work for google maps and google earth.Becuase, Google Earth kml is some what different to Google Maps kml.In Google Earth kml we need to declare <LookAt> that is not supported by Google Maps.Please have a look into the following url for Google Earth kml:
http://code.google.com/apis/kml/documentation/kml_tut.html
and the following url explains google maps kml:
http://econym.org.uk/gmap/kml.htm
Here we have to observe one more thing like we have <coordinates> in both cases.But ,the Projection is different in both cases.If we use same lat and lon for Google Earth and Google Maps we cannot able to get the correct result.So,you can use both kml but while passing coordinates from Google maps to Google earth,need to change the lat,lon projections and vice versa.
Hope this helps you :-)

Resources