Can not display Google Earth Kml file on Google Map

45 views
Skip to first unread message

Tran Huu Nguyen

unread,
Jul 27, 2011, 12:49:39 AM7/27/11
to google-map...@googlegroups.com
Hi all,

I use Shp2Kml to convert .shp file --> .kml file! KML is working fine on google earth but does not display anything on google map!

I did the following steps:

1. Use Shp2Kml tool (http://www.zonums.com/shp2kml.html)
2. Publish kml file on web with static IP, some Kml link:
    http://113.160.17.10/test/polyline.kml (Work just well on Google Earth)
    http://113.160.17.10/test/region.kml (Work just well on Google Earth)
    http://113.160.17.10/test/grid.kml (Work well on Google Earth and Google Map, because It's simple data)
    http://113.160.17.10/test/cta.kml (Work well on Google Earth and Google Map, because It's downloaded from Google Map KML Overlay Sample)
   
3. Go to http://maps.google.com/maps and input Kml link

Page link:
    http://113.160.17.10/test/index.htm

Pls help me! Thanks in advance!

Rossko

unread,
Jul 27, 2011, 7:20:19 AM7/27/11
to Google Maps JavaScript API v3
>    http://113.160.17.10/test/polyline.kml(Work just well on Google Earth)

It's 9Mb
There are limits on file size
http://code.google.com/apis/kml/documentation/mapsSupport.html

James McGill

unread,
Jul 27, 2011, 10:29:59 PM7/27/11
to google-map...@googlegroups.com
You could try compressing your file (using any ZIP program or Google Earth) so that it can be served as a KMZ.


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


geoco...@gmail.com

unread,
Jul 31, 2011, 9:03:12 AM7/31/11
to Google Maps JavaScript API v3
On Jul 27, 4:20 am, Rossko <ros...@culzean.clara.co.uk> wrote:
> >    http://113.160.17.10/test/polyline.kml(Workjust well on Google Earth)
>
> It's 9Mb
> There are limits on file sizehttp://code.google.com/apis/kml/documentation/mapsSupport.html

And on "total document-wide features" (not well defined):
Maximum number of total document-wide features 1,000

There are 12763 polyline Placemarks in that KML.

-- Larry
Reply all
Reply to author
Forward
0 new messages