javascript - How to hide geoxml3 markers when loading KML files? -


i have geoxml3 parser reading (multiple) kml files onto google map, , have red arrow/markers showing up. there way suppress them?

var myoptions = {         center: new google.maps.latlng(39.397, -100.644),         zoom: 4,         maptypeid: google.maps.maptypeid.roadmap     };     var map = new google.maps.map(document.getelementbyid("map_canvas"), myoptions);      var geoxml = new geoxml3.parser({         map: map,         singleinfowindow: false,         afterparse: usethedata     });  geoxml.parse('data/file1.kml'); geoxml.parse('data/file2.kml'); geoxml.parse('data/file3.kml'); 

enter image description here

there several ways suppress markers.

  1. the simplest remove <point> geometries placemarks in kml.
  2. you can write post processing function hide them after created
  3. you can create custom createmarker function doesn't create markers

example of hiding markers


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -