Closed ganigapeta closed 6 years ago
You will have the same problem with LeafletJS, but they provide a method in the map class for solving this problem.
In my opinion, the best way to solve your problem is:
angular-resizable-element
directive for resizing the map (I don't know this module, but it looks fine at first glance)invalidateSize
method on resize in your parent-component's template:
<yaga-map
mwlResizable
(resizeEnd)="mapComponent.invalidateSize()"
>
<!-- ... -->
</yaga-map>
Have fun ;)
Hi @atd-schubert,
Is there any way to reload a map dynamically? actually I am using a re-sizable container once resized map not loading properly(map not fully loading).