Skip to content

Fix: Custom icon does not appear on Mapbox - #42

Merged
wf9a5m75 merged 90 commits into
mainfrom
mapbox_symbol_layer
Jul 5, 2025
Merged

Fix: Custom icon does not appear on Mapbox#42
wf9a5m75 merged 90 commits into
mainfrom
mapbox_symbol_layer

Conversation

@wf9a5m75

@wf9a5m75 wf9a5m75 commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

Description

Fix the bug that Marker does not draw custom icon but default icon is drew.
This bug was introduced by #41.

wf9a5m75 and others added 30 commits June 20, 2025 09:01
…ange using flow.

The flow debounce reduces unnecessary the number of execution of the updateMarker.
…ange using flow.

The flow debounce reduces unnecessary the number of execution of the updateMarker.
wf9a5m75 and others added 20 commits June 29, 2025 07:32
* Consolidated BounceAnimation and refactored the animation callers.
* Consolidated BounceAnimation and refactored the animation callers.
# Conflicts:
#	mapconductor-core/src/main/java/com/mapconductor/core/controller/MapViewController.kt
#	mapconductor-core/src/main/java/com/mapconductor/core/marker/MarkerOverlayManagerImpl.kt
#	mapconductor-core/src/main/java/com/mapconductor/settings/Settings.kt
#	mapconductor-for-arcgis/src/main/java/com/mapconductor/arcgis/ArcGISMapViewController.kt
#	mapconductor-for-googlemaps/src/main/java/com/mapconductor/googlemaps/GoogleMapViewController.kt
#	mapconductor-for-here/src/main/java/com/mapconductor/here/HereMapViewController.kt
#	mapconductor-for-mapbox/src/main/java/com/mapconductor/mapbox/MapboxMapViewController.kt
# Conflicts:
#	mapconductor-core/src/main/java/com/mapconductor/core/controller/MapViewController.kt
#	mapconductor-core/src/main/java/com/mapconductor/core/marker/MarkerOverlayManagerImpl.kt
#	mapconductor-core/src/main/java/com/mapconductor/settings/Settings.kt
#	mapconductor-for-arcgis/src/main/java/com/mapconductor/arcgis/ArcGISMapViewController.kt
#	mapconductor-for-googlemaps/src/main/java/com/mapconductor/googlemaps/GoogleMapViewController.kt
#	mapconductor-for-here/src/main/java/com/mapconductor/here/HereMapViewController.kt
#	mapconductor-for-mapbox/src/main/java/com/mapconductor/mapbox/MapboxMapViewController.kt
@wf9a5m75 wf9a5m75 closed this Jul 5, 2025
@wf9a5m75
wf9a5m75 deleted the mapbox_symbol_layer branch July 5, 2025 17:12
@wf9a5m75
wf9a5m75 restored the mapbox_symbol_layer branch July 5, 2025 17:13
@wf9a5m75 wf9a5m75 reopened this Jul 5, 2025
@wf9a5m75
wf9a5m75 merged commit 22647cd into main Jul 5, 2025
1 check failed
@wf9a5m75
wf9a5m75 deleted the mapbox_symbol_layer branch July 5, 2025 17:27
wf9a5m75 added a commit that referenced this pull request Jul 6, 2025
* Spin out icons code into the mapconductor-icons module

* Spin out icons code into the mapconductor-icons module

* Add onAnimation parameter for MarkerOvervalyManaer.

* Add onAnimation parameter for MarkerOvervalyManaer.

* Remove unnecessary library

* Remove unnecessary library

* Implement basic structure

* Implement basic structure

* Implement initial marker drop animation

* Implement initial marker drop animation

* Added drop animation

* Added drop animation

* Implementing marker drop animation

* Implementing marker drop animation

* Improve the marker rendering performance by observing marker state change using flow.
The flow debounce reduces unnecessary the number of execution of the updateMarker.

* Improve the marker rendering performance by observing marker state change using flow.
The flow debounce reduces unnecessary the number of execution of the updateMarker.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Fix: marker.animation does not work

* Fix: marker.animation does not work

* Implement onMarkerAnimateStart and onMarkerAnimateEnd callbacks

* Implement onMarkerAnimateStart and onMarkerAnimateEnd callbacks

* No longer take care of coroutineScope by MarkerOverlayManagerImpl

* No longer take care of coroutineScope by MarkerOverlayManagerImpl

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Add Bounce Animation@google Maps

* Add Bounce Animation@google Maps

* ArcGIS animation.(debug now)

* ArcGIS animation.(debug now)

* wip: debugging with claude.ai

* wip: debugging with claude.ai

* ArcGIS:Apply debug results
Here:Create animation(Drop/Bounce)

* ArcGIS:Apply debug results
Here:Create animation(Drop/Bounce)

* Unify variable naming and processing sequence across codebases(Google Maps, ArcGIS, HERE).
Scope: Drop and Bounce animations.

* Unify variable naming and processing sequence across codebases(Google Maps, ArcGIS, HERE).
Scope: Drop and Bounce animations.

* "Extracted common logic for Drop Animation across Google Maps, ArcGIS, and HERE into a separate function."

* "Extracted common logic for Drop Animation across Google Maps, ArcGIS, and HERE into a separate function."

* Update .gitignore (#34)

* Update .gitignore (#34)

* Create MarkerEntity (#35)

* Create MarkerEntity (#35)

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Unified Drop Animation for ArcGIS and Google Maps.

* Unified Drop Animation for ArcGIS and Google Maps.

* wip: polyline

* wip: polyline

* pause working on polyline. Just clear all overlays for temporally

* pause working on polyline. Just clear all overlays for temporally

* Generate marker Id based on the constructor parameters if omitted.

* Generate marker Id based on the constructor parameters if omitted.

* Comment out debug code

* Comment out debug code

* Implement marker dragging functionality for Mapbox

* Implement marker dragging functionality for Mapbox

* KtLinter auto fixed

* KtLinter auto fixed

* * Integrated the shared Drop Animation into HERE Map.
* Consolidated BounceAnimation and refactored the animation callers.

* * Integrated the shared Drop Animation into HERE Map.
* Consolidated BounceAnimation and refactored the animation callers.

* create drawDragLayer private method

* create drawDragLayer private method

* Fix: Bounce animation does not work

* Fix: Bounce animation does not work

* Fix: Changing the marker.icon value does not work.

* Fix: Changing the marker.icon value does not work.

* fix: the flyTo button on the demo app does not work

* probably fix: icon anchor is incorrect on Mapbox

* Fix: custom icon does not appear on mapbox

* Resolve linter errors

---------

Co-authored-by: KouTsukigase <kou.tsukigase@gmail.com>
KouTsukigase added a commit that referenced this pull request Jul 25, 2025
* Spin out icons code into the mapconductor-icons module

* Spin out icons code into the mapconductor-icons module

* Add onAnimation parameter for MarkerOvervalyManaer.

* Add onAnimation parameter for MarkerOvervalyManaer.

* Remove unnecessary library

* Remove unnecessary library

* Implement basic structure

* Implement basic structure

* Implement initial marker drop animation

* Implement initial marker drop animation

* Added drop animation

* Added drop animation

* Implementing marker drop animation

* Implementing marker drop animation

* Improve the marker rendering performance by observing marker state change using flow.
The flow debounce reduces unnecessary the number of execution of the updateMarker.

* Improve the marker rendering performance by observing marker state change using flow.
The flow debounce reduces unnecessary the number of execution of the updateMarker.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Fix: marker.animation does not work

* Fix: marker.animation does not work

* Implement onMarkerAnimateStart and onMarkerAnimateEnd callbacks

* Implement onMarkerAnimateStart and onMarkerAnimateEnd callbacks

* No longer take care of coroutineScope by MarkerOverlayManagerImpl

* No longer take care of coroutineScope by MarkerOverlayManagerImpl

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Add Bounce Animation@google Maps

* Add Bounce Animation@google Maps

* ArcGIS animation.(debug now)

* ArcGIS animation.(debug now)

* wip: debugging with claude.ai

* wip: debugging with claude.ai

* ArcGIS:Apply debug results
Here:Create animation(Drop/Bounce)

* ArcGIS:Apply debug results
Here:Create animation(Drop/Bounce)

* Unify variable naming and processing sequence across codebases(Google Maps, ArcGIS, HERE).
Scope: Drop and Bounce animations.

* Unify variable naming and processing sequence across codebases(Google Maps, ArcGIS, HERE).
Scope: Drop and Bounce animations.

* "Extracted common logic for Drop Animation across Google Maps, ArcGIS, and HERE into a separate function."

* "Extracted common logic for Drop Animation across Google Maps, ArcGIS, and HERE into a separate function."

* Update .gitignore (#34)

* Update .gitignore (#34)

* Create MarkerEntity (#35)

* Create MarkerEntity (#35)

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Unified Drop Animation for ArcGIS and Google Maps.

* Unified Drop Animation for ArcGIS and Google Maps.

* wip: polyline

* wip: polyline

* pause working on polyline. Just clear all overlays for temporally

* pause working on polyline. Just clear all overlays for temporally

* Generate marker Id based on the constructor parameters if omitted.

* Generate marker Id based on the constructor parameters if omitted.

* Comment out debug code

* Comment out debug code

* Implement marker dragging functionality for Mapbox

* Implement marker dragging functionality for Mapbox

* KtLinter auto fixed

* KtLinter auto fixed

* * Integrated the shared Drop Animation into HERE Map.
* Consolidated BounceAnimation and refactored the animation callers.

* * Integrated the shared Drop Animation into HERE Map.
* Consolidated BounceAnimation and refactored the animation callers.

* create drawDragLayer private method

* create drawDragLayer private method

* Fix: Bounce animation does not work

* Fix: Bounce animation does not work

* Fix: Changing the marker.icon value does not work.

* Fix: Changing the marker.icon value does not work.

* fix: the flyTo button on the demo app does not work

* probably fix: icon anchor is incorrect on Mapbox

* Fix: custom icon does not appear on mapbox

* Resolve linter errors

---------

Co-authored-by: KouTsukigase <kou.tsukigase@gmail.com>
wf9a5m75 added a commit that referenced this pull request Aug 2, 2025
* Spin out icons code into the mapconductor-icons module

* Spin out icons code into the mapconductor-icons module

* Add onAnimation parameter for MarkerOvervalyManaer.

* Add onAnimation parameter for MarkerOvervalyManaer.

* Remove unnecessary library

* Remove unnecessary library

* Implement basic structure

* Implement basic structure

* Implement initial marker drop animation

* Implement initial marker drop animation

* Added drop animation

* Added drop animation

* Implementing marker drop animation

* Implementing marker drop animation

* Improve the marker rendering performance by observing marker state change using flow.
The flow debounce reduces unnecessary the number of execution of the updateMarker.

* Improve the marker rendering performance by observing marker state change using flow.
The flow debounce reduces unnecessary the number of execution of the updateMarker.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Define the marker drop animate duration in the default constants.

* Fix: marker.animation does not work

* Fix: marker.animation does not work

* Implement onMarkerAnimateStart and onMarkerAnimateEnd callbacks

* Implement onMarkerAnimateStart and onMarkerAnimateEnd callbacks

* No longer take care of coroutineScope by MarkerOverlayManagerImpl

* No longer take care of coroutineScope by MarkerOverlayManagerImpl

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Add Bounce Animation@google Maps

* Add Bounce Animation@google Maps

* ArcGIS animation.(debug now)

* ArcGIS animation.(debug now)

* wip: debugging with claude.ai

* wip: debugging with claude.ai

* ArcGIS:Apply debug results
Here:Create animation(Drop/Bounce)

* ArcGIS:Apply debug results
Here:Create animation(Drop/Bounce)

* Unify variable naming and processing sequence across codebases(Google Maps, ArcGIS, HERE).
Scope: Drop and Bounce animations.

* Unify variable naming and processing sequence across codebases(Google Maps, ArcGIS, HERE).
Scope: Drop and Bounce animations.

* "Extracted common logic for Drop Animation across Google Maps, ArcGIS, and HERE into a separate function."

* "Extracted common logic for Drop Animation across Google Maps, ArcGIS, and HERE into a separate function."

* Update .gitignore (#34)

* Update .gitignore (#34)

* Create MarkerEntity (#35)

* Create MarkerEntity (#35)

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Revert "Update .editorconfig (#32)"

This reverts commit c7805d4.

* Unified Drop Animation for ArcGIS and Google Maps.

* Unified Drop Animation for ArcGIS and Google Maps.

* wip: polyline

* wip: polyline

* pause working on polyline. Just clear all overlays for temporally

* pause working on polyline. Just clear all overlays for temporally

* Generate marker Id based on the constructor parameters if omitted.

* Generate marker Id based on the constructor parameters if omitted.

* Comment out debug code

* Comment out debug code

* Implement marker dragging functionality for Mapbox

* Implement marker dragging functionality for Mapbox

* KtLinter auto fixed

* KtLinter auto fixed

* * Integrated the shared Drop Animation into HERE Map.
* Consolidated BounceAnimation and refactored the animation callers.

* * Integrated the shared Drop Animation into HERE Map.
* Consolidated BounceAnimation and refactored the animation callers.

* create drawDragLayer private method

* create drawDragLayer private method

* Fix: Bounce animation does not work

* Fix: Bounce animation does not work

* Fix: Changing the marker.icon value does not work.

* Fix: Changing the marker.icon value does not work.

* fix: the flyTo button on the demo app does not work

* probably fix: icon anchor is incorrect on Mapbox

* Fix: custom icon does not appear on mapbox

* Resolve linter errors

---------

Co-authored-by: KouTsukigase <kou.tsukigase@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants