I´m trying to centralize a map base in a chosen city. I´ve succesfully create two filters state and city to filter a map. After applying the filter the map displays only the city however I can´t define the latitude and longitude automatically and it is very hard to find the city. I have latitude and longitude in the same index as the map (mapa_cidades_brasil), but I´m unable to use the data from the table to centralize the map. I tried:
This is passing the literal string values "latitude" and "longitude" as arguments to the mapCenter function. Most likely what you are trying to do is something like this:
[savedMap] > Cannot read property 'map' of undefined
The easiest way would be to have a feature in the map to autocenter. Get the lowest and highest latitude and longitude of the objects selected to center and zoom accordingly.
The easiest way would be to have a feature in the map to autocenter. Get the lowest and highest latitude and longitude of the objects selected to center and zoom accordingly.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.