javascript - Create a search box for my KMLlayer(s) -
i'm using google maps api v3 , displaying basic map 250 place markers kmz file. i'd add search box page allows users search specific item in kml. i'm pretty sure possible, not sure best way started... pointing me in right direction appreciated.
thanks.
as understand, kmz file zipped file containing .kml file , other related files. reading kml , extracting values trivial using jquery , can information how here. http://think2loud.com/224-reading-xml-with-jquery/
i've not done unzipping file in javascript, can check out stackoverflow question if want on client side. unzipping files
alternately, can unzip kmz file on server, , let client code kml file using ajax (as shown in first link).
hope helps.
Comments
Post a Comment