heatmaps and kml

Home Forums Google Maps Plugin heatmaps and kml

This topic contains 3 replies, has 2 voices, and was last updated by mila_support mila_support 4 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10523

    Tim J Kubal
    Participant

    Please provide detailed documentation about how to use the heatmap and kml. Neither seem to be working for me, at least for what I wanted. Perhaps I don’t understand how to use them correctly.I do have the pro version.

    Regarding the heatmaps, I see how to create points and change the opacity and size of the markers but these are not heatmaps, they are just a different style of map marker. A heatmap would have color intensity that corresponds to the meaning behind the data point, along with a legend that defines the meaning of the color intensity (E.g., red for high levels, yellow for medium levels, and green for low levels).

    I wanted to create heatmaps that incorporated the kml files by state or county data (e.g., level of poverty) so the county or state polygon would be colored based on the intensity of the poverty value for that state or county. I figured this was possible since your demo screen has state by state colors.

    I’m using kml files from the u.s. census bureau, unzipped and uploaded from this site: https://www.census.gov/geo/maps-data/data/kml/kml_counties.html
    Also, when I tried to upload a larger file (500k file) that was about 30mb, it failed to upload, but when I tried to upload the smaller file (5k) that was only 7mb, it accepted the file, but did not place any of the data on the map. The smaller file you can also access from my dropbox url: https://www.dropbox.com/s/ikvqdn4x6pjajn7/cb_2015_us_county_20m.kml?dl=0

    #10966
    mila_support
    mila_support
    Keymaster

    Hello Tim!

    Sorry for the late reply. Your request was redirected to our development department. We will respond you as soon as possible.

    #12272
    mila_support
    mila_support
    Keymaster

    Hello!

    When you add points manually to the heatmap – it is impossible to achieve the accuracy that you want regarding colors of points. We are planning to make an improvement in future – making it possible to load point for building heatmap from a file.

    As for your desire to create heatmaps that incorporated the kml files – it isn’t very clear for us, as heatmaps and kml files are different things. However it is possible to create a heatmap layer with kml file.

    #12773
    mila_support
    mila_support
    Keymaster

    Hello!

    We checked your kml file cb_2015_us_county_500k.kml:

    1) MIME type of file is application/xml. Our maps are designed for handling two types of files: application/vnd.google-earth.kml+xml and application/vnd.google-earth.kmz

    2) We couldn’t process your file with other online services to display KML layers in the map – there were errors.

    3) We think that the main reason is in the size of the file. Google maps have a limitation of the size of KML file. https://developers.google.com/maps/documentation/javascript/kmllayer?hl=en#restrictions. We didn’t find a possibility to change these limits.

    We suggest to convert the file into the required format (so MIME type will match to the file extension) and compress the file to an acceptable size.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Get plugins bundle today and save over 80%