manunc

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Detecting my position #10796
    manunc
    Participant

    Thanks Chris,

    About Directions do you have a circuit displayed exactly with the road ?

    in reply to: MapPress with mobile #10682
    manunc
    Participant

    Got it working with  “width” => ‘100%’,

    in reply to: MapPress with mobile #10681
    manunc
    Participant

    It seems Mappress_Map does not take in account percentage value but only pixel values.

    in reply to: Template tag #10521
    manunc
    Participant

    I have almost finished the integration but I have a little issue:

    I used the following code to display the map:

    $coord = appthemes_get_coordinates( $post->ID );
    $mymap = new Mappress_Map( array(
    “width” => 750,
    “center”=> array(“lat” => $coord->lat, “lng” => $coord->lng),”zoom” => 19 )
    );
    echo $pro;
    $mypoi_1 = new Mappress_Poi(array(
    “title” => $pro,
    “body”  => $pro,
    “point” => array(“lat” => $coord->lat, “lng” => $coord->lng)
    ));
    $mymap->pois = array($mypoi_1);
    echo $mymap->display();

    But $pro that is retrieved with:

    <?php $pro = the_title(); ?>

    Does not show the title in the map,

    Any idea?

    in reply to: Template tag #10519
    manunc
    Participant

    Hello,

    I have disable automatic display in MapPress settings and I have added this in my listing.php page:

     

    <section id=”overview”>
    <?php the_content(); ?>
    <?php $maps = Mappress_Map::get_post_map_list($post->ID);

    if (!empty($maps)) {
    $mapid = $maps[0]->mapid;
    do_shortcode(‘[mappress mapid="$mapid"]‘);
    } ?>

    </section>

    Unfortunately no map is displayed

    Any idea?

    in reply to: Template tag #10514
    manunc
    Participant

    Thanks,

    Is there a way to directly get the mapid by filtering, giving the name of the map in argument ?

    exemple: a map id 2 has the name [2] Couleur du Lagon

    in reply to: Template tag #10513
    manunc
    Participant

    The last one I guess:
    Version:2.38.6 PRO

Viewing 7 posts - 1 through 7 (of 7 total)