1👍
✅
KML is just “array” of graphic objects (and their attributes) that you
want to show on the map. It is very easy to use it because google maps
API knows how to parse it.You don’t acces database stored data with javascript. Usually you
request it from web server, that communicates with database
(javascript send’s request to some link and receives response).
Above are just some basics (not django specific) that you have to learn.
1👍
look at the geodjango extensions to django – it gives you spatial data classes you can stick in your models. Then you have views that return geoJSON data to open layers…
Source:stackexchange.com