Hi, i've some problem adding multiple maps on a single node, i've many itineraries of a city and each one should have its own map.
Once i add this code below to the first itinerary it works
<?php
$latlons=array('41.896200,12.485559','41.893200,12.487100','41.890200,12.492300');
$locs=array();
$mappa=getdirections_locations_via($locs,$latlons);
echo $mappa;
?>if i add the same code with different latlons to another itinerary all the maps disappear.
Can't find a solution
| Comment | File | Size | Author |
|---|---|---|---|
| explanation.jpg | 370.11 KB | valeriiio |
Comments
Comment #1
valeriiio commentedComment #2
hutch commentedGetdirections can only show one map at a time, to make it do otherwise would be a major rewrite. What you could do is write a View that makes a list of links to those maps and display the list in a block.