-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No icons or images are output #15
Comments
@21601-kimura Thank you for the issue. This plugin only can export current style.json in map object. There is no style information about additional icon images other than sprite. You have to add your own icons after this source code. maplibre-gl-export/lib/map-generator.ts Lines 165 to 178 in f1b6370
Maybe the plugin can have an optional parameter to apply any additional style into exported map. |
watergis/mapbox-gl-export#31 is also the same issue with this one |
Co-authored-by: 21601-kimura <[email protected]>
@21601-kimura I am sorry for the late reply. Thank you for fixing the bug.I have released as v1.3.3. |
Describe the bug
No icons or images are output.
error :
Image "***" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
To Reproduce
Use LoadImage() and addImage()
Expected behavior
Icon or image is output.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: