Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ protected void createGoogleMapsDemo(String apiKey) {
GoogleMap gmaps = new GoogleMap(apiKey, null, null);
gmaps.setMapType(MapType.ROADMAP);
gmaps.setSizeFull();
gmaps.setCenter(new LatLon(-31.635175, -60.698405));
gmaps.setCenter(new LatLon(-31.620173186615883, -60.67964404821396));
gmaps.setZoom(16);

// marker ONLY using an url for the marker's icon image
gmaps.addMarker("Marker with only an URL as icon", gmaps.getCenter(), false,
"https://www.flowingcode.com/wp-content/uploads/2020/06/FCMarker.png");
"https://www.flowingcode.com/wp-content/uploads/2025/09/marker_1.png");

// marker using a MarkerIcon, url icon image + customization
MarkerIcon markerIcon = new MarkerIcon(Markers.GREEN);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected void createGoogleMapsDemo(String apiKey) {
GoogleMap gmaps = new GoogleMap(apiKey, null, null);
gmaps.setMapType(MapType.SATELLITE);
gmaps.setSizeFull();
gmaps.setCenter(new LatLon(-31.636036, -60.7055271));
gmaps.setCenter(new LatLon(-31.620173186615883, -60.67964404821396));

// add click listener to get latitude and longitude on left click
gmaps.addClickListener(
Expand All @@ -67,7 +67,7 @@ protected void createGoogleMapsDemo(String apiKey) {
"Center",
gmaps.getCenter(),
false,
"https://www.flowingcode.com/wp-content/uploads/2020/06/FCMarker.png");
"https://www.flowingcode.com/wp-content/uploads/2025/09/marker_1.png");
flowingmarker.addInfoWindow("<h1>Flowing Code</h1>");

// add polygon with icons and click listener
Expand Down