-
Notifications
You must be signed in to change notification settings - Fork 98
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
<aol-control-*> doesn't work #222
Comments
Necroposting just in case somebody has the same issue and googled it. Short section in readme.md about controls says that you have to set id for your custom control (immediate child of aol-content), and then just style the 'map component's css'. This highlights the problem: controls are not added inside aol-control or aol-content, they are added to one of the children inside the map itself. So you are on your own: use dev tools to search where the control was added and how you can identify it, and then apply style to the aol-map. Mind the style isolation, so ::ng-deep should be applied to bypass it. Here's an example: .map-styles{ and then: |
Hi! |
@jorugit https://pastebin.com/BNhkuETm here's the simple map component I've created for one of the projects. I hope it helps. Although it won't work without the surrounding infrastructure, the required modifications for general use are minimal. |
OK, THANK YOU! |
Hello.
<aol-control-*> is not displayed.
Am I wrong in usage?
Angular 7.2.0
ngx-openlayers 1.0.0-next.6
The text was updated successfully, but these errors were encountered: