How do I highlight an area of a country with leafletjs? The only way I have seen is using a Geojson file. I have used mapzen and it works, but there is another way to do it this way. The problem I have is that the geojson files are very heavy (up to 15mg) and I I am concerned about the performance of the application, in the application that I am doing it is on a map of my country; there are 18 departments
Here I give you an example, this is what I am looking for http://nominatim.openstreetmap.org/search.php?q=cortes+honduras&polygon=1&viewbox=
You can see an example of how to style a geojson with polygons at http://bl.ocks.org/milkbread/7114600 and for performance don't be afraid, with that number of geometries it won't give you any problems. You can see an example I made to dynamically render a large number of points and performance is not affected at http://inspidesingularity.es/vidaalciclista/movimientos.php