WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial : LeafLetJS Maps
            with address marker

Tutorials

>

Tutorial Maps

>

Tutorial : LeafLetJS Maps with address marker


Maps-02: Tutorial of the composant Maps of the PHP FrameWork WebSite-PHP.

Tutorial : LeafLetJS Maps with address marker:



Go back to tutorial of the componant Maps



Source code

Source code


File: /pages/tutorials/maps/maps-02.php

<?php
class Maps02 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : LeafLetJS Maps
                    with address marker"
;
        
        
$this->render = new MapLeafLet("map_white_house");
        
$this->render->setGeoSearchTool(MapLeafLet::GEOSEARCH_OPENSTREETMAP);
        
$this->render->addMarker("600 Pennsylvania Ave NW, Washington, DC 20500,
                    United states"
"White House");
    }
}
?>


Go back to tutorial of the componant Maps


Share

 


Copyright © 2009-2018 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker