-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Passing map style to iOS map (MGLMapView). * Moved map style lookup table to a separate file. * Renamed style parameter to styleString. * Moved the lookup behind a fromUrl function. * Added checks for empty styleString and JSON styleStrings. * Added a sample icon at different resolutions. * Added custom icon as asset. * Added sink object for symbols. * Initial Symbol class with a mapping between some of the setters form the sink. * Updated Convert to interpret symbol options. * Added symbol#add to (iOS) mapboxcontroller. * Passing the registrar instead of the binary messenger to the controller. We need it to lead the images. * Load image for symbol (from registrar). The extension method for loading the image takes scaling into account. * Added a button for adding the custom icon symbol. * Wired annotation selection to symbol#onTap. * Typo "line#onTap" should be "symbol#onTap" * Remove unused camera symbol. * Generate uuid for symbol id. * Implemented updating a symbol (only updating position works). * Implemented remove annotation. * Refactor symbol lookup. * Added gradle wrapper. * Added Android custom symbols. * Cleaned up code. * Removed need for custom image parameter. * Fixed memory issue. * Android icon image scaling works. * Bug fix (on custom_symbol branch). * Refactored the getImage method. * Fixed typo. * Removed hardcoded assets path (path is now derived from the fullpath in symbol.iconImage property). * Renamed getImage to getScaledImage * Add symbol image using the async getStyle method. * Adding an image based on the addOnStyleImageMissing callback for more efficiency.
- Loading branch information
1 parent
bf73492
commit 2c7ff8d
Showing
17 changed files
with
479 additions
and
48 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.