Class MapMaker
java.lang.Object
com.geodesk.util.MapMaker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds aMarker
for the given bounding box.void
void
attribution
(String attribution) Sets the attribution displayed on the map.void
Generates a self-contained HTML file that displays the interactive map and all its markers.void
Sets the URL template for the source of map tiles.void
write
(Appendable out)
-
Constructor Details
-
MapMaker
public MapMaker()
-
-
Method Details
-
tiles
Sets the URL template for the source of map tiles.- Parameters:
url
- the URL template
-
attribution
Sets the attribution displayed on the map.- Parameters:
attribution
- the attribution text
-
add
-
add
-
add
-
add
-
save
Generates a self-contained HTML file that displays the interactive map and all its markers.- Parameters:
path
- name of the file to generate- Throws:
IOException
-
write
- Throws:
IOException
-