javascript - Is there a way hide database's map data when displaying entire map to a user -
i building website allows users find locations , areas around world based on data other users allowed submit. have database containing of location data, latitudes , longitudes. have implemented google maps javascript api, static api simple things in website. allow users view of database's map points on world map user drag , zoom different areas view , select pin more information location.
there example on google's site shows how here. if i'd hide data client, rather passing them entire xml file locations?
i supposed make more difficult intercept of coordinates , save them computer. might subjective question because of novice understanding of , understand trade-off type situation.
so basically, don't want make easy take data @ once?
a straight-forward strategy provide search , filter controls interact discrete apis (ajax services). have api provides summary data how many points in 1 area , provide guided search constraints let user drill down further.
you return concrete data points once user gets specific level of depth.
does help?
Comments
Post a Comment