Simple Marker | Multiple Markers | Polyline | Polygon | Circle | Rectangle | Ground Overlay | Directions | Clustering Markers
Geolocation | Drawing Manager | Styling The Map | Traffic Overlay | Bicycling Overlay | Panoramio Layer | Street View
KML Layer | Places API Integration | Places Input Autocomplete
Get Co-ordinates At Clicked Position | Add Marker At Clicked Position | Get Co-ordinates Of Dragged Marker
Pass Co-ordinates Back To The Database | Multiple Maps On The Same Page
The Code

Controller File:


$config['trafficOverlay'] = TRUE;
	$data['map'] = $this->googlemaps->create_map();

$this->load->view('view_file', $data);

View File:

<head><?php echo $map['js']; ?></head>
<body><?php echo $map['html']; ?></body>

Return to Library Homepage