Display map only when there's information to show
-
The fact that when there’s no “single” information geomashup turns to “global” mode by default is problematic for my case. Is there a simple way to do it?
Something like:
<?php if GeoMashup::info() then
<div id="geomashup">
<?php echo GeoMashup::map() ?>
</div>
?>`
so it doesn’t go to global mode…
Sorry, I know very little php.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display map only when there's information to show’ is closed to new replies.