angular-openlayers-directive
angular-openlayers-directive copied to clipboard
Openlayers component not showed on Aside
Hi, i've installed and tried this component on my angularjs project, and everthing is working fine. I've created a custom component that inclued the maps, but when i try to include this on $aside component it is not showed. Can anyone help me? thanks
Hi, I'm sorry, but I need more detail to be able to help.
The situation is this:
I've the
I've tried to put also directely the
<!-- Aside template -->
<script type="text/ng-template" id="localitaModal.html">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title" id="modal-title">{{ mvm.localita.indirizzo}}</h3>
</div>
<div class="box-body" id="modal-body">
<map-widget points="mvm.points"></map-widget> <!-- NO WORKING -->
</div>
</div>
</script>
<!-- Content -->
<section class="content-header">
<h1>Località <small>Lista località </small></h1>
</section>
<section class="content">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Mappa</h3>
</div>
<div class="box-body">
<map-widget points="vm.points"></map-widget> <!-- WORKING -->
</div>
<div class="box-footer">
Footer
</div>
</div>
</section>
Can you paste me the essential parts of the <map-widget>?
this is all the map-widget component
<div class="map-div">
<openlayers ol-center="vm.center" ol-defaults="vm.defaults">
</openlayers>
</div>
<div ng-bind="vm.position | json">Position
</div>
<div ng-bind="vm.points | json">Points
</div>