Friday 27 October 2017

Google Map Filter Api Example

Here is Google Map Filter Api Example:

Get Place Image url In google map Api

How to get place image url in google map api:
Here is the working code
var src = place.photos[0].getUrl({'maxWidth': 150, 'maxHeight': 150});

Wednesday 25 October 2017

Google Map Api Correct Position For InfoWindow On Marker

Google Map Api Correct Position For InfoWindow On Marker:
Here is example code:
var infowindow = new google.maps.InfoWindow({
content:hello
});
marker.addListener('click', function() {
infowindow.open(map, this);
});

Saturday 21 October 2017

Angularjs4 Routes Example Strucutre

here is the Angularjs4 Routes Example Strucutre:
const routes: Routes = [
{ path: 'home', component: HomeComponent },
{ path: 'about', component: AboutComponent },
{ path: 'contat', component: ContactComponent }
];
Here to call the Routes data:
 <a href="https://www.blogger.com/null" routerlink="/home" routerlinkactive="active">home</a><br />
<a href="https://www.blogger.com/null" routerlink="/about" routerlinkactive="active">about</a><br />

<router-outlet></router-outlet>

Delete Query In Codeigniter

Here please check Delete Query In Codeigniter Example:
$this->db->where('id', $id);
$this->db->delete('users');

Google Map Filter Api Example

Here is Google Map Filter Api Example: