To prevent more suffering of anyone else with "cannot find namespace 'google' " npm install @google/maps THEN add in the top of the file: import { google } from '@google/maps';
Hi @Samarth. I would like add maps to my app in IONIC and i have a question. If i add fields to write coordinates, then if i use this new coordinates to marker in your code (after click search button), then map automatically change position to new ? Is possible without reload page ?
when I run ionic cordova run browser, there's an error who says that the library doesn't exists :( I tried to reinstall the package over and over but the error persists :( heeeeeeeelp :(
Hi samarath, thanks for the great tutorials. please help me how can i add multiple pins and search box at the top for searching different locations. thank you
Thanks, Its now working even if i didn't add the declaration. Was using your project "googlemapsionic" from github. My question now is if I change the coordinates and re-run the project like below let coords = new google.maps.LatLng(-17.827 ,31.0583); I get a typescript error " cannot find name google" but if i revert to your original coordinates its working just fine.
GitHub Repo: github.com/samarthagarwal/googlemapsionic
i can not thanks you enough ...you did gorgeous work الله يوفقك و يهديك يارب
To prevent more suffering of anyone else with "cannot find namespace 'google' "
npm install @google/maps
THEN add in the top of the file:
import { google } from '@google/maps';
omg Thx buddy, was searching for a solution for a while now...
Hi do we have to pay for Google app now
Good one! But how can I add a search location function? any luck?
Excelente Tutorial, you save me haha.
Hello sir,
How can we get live location of other device, like in whatsapp.. Please help in this. Waiting for your reply
hi, i have a error " ReferenceError: google is not defined" can you please help me
And, If I want add multiple markers to map. How would it be?
Erickzon Manuel Torres Collahua same as you added the first one.
hello, well explained tutorial can u provide it in ionic 4 please
Excellent tutorial. Thanks. What about adding markers via a form?
This is not working in android native device
true
the json MapOptions did not work for me!
Hi @Samarth. I would like add maps to my app in IONIC and i have a question. If i add fields to write coordinates, then if i use this new coordinates to marker in your code (after click search button), then map automatically change position to new ? Is possible without reload page ?
Please tell me how track people and get the location continuously
On IONIC 4 you need to add "declare var google;" at the top of your file where you want to use.
What a good video mate, thanks a lot for sharing your knowledge
How do I add autocomplete to place search and then add a marker? Can you make an tutorial for this? Thank you!!!
when I run ionic cordova run browser, there's an error who says that the library doesn't exists :( I tried to reinstall the package over and over but the error persists :( heeeeeeeelp :(
Is there any way to showing address of that marker?
Thanks for sharing videos
Hi samarath, thanks for the great tutorials. please help me how can i add multiple pins and search box at the top for searching different locations.
thank you
must I add a billing account in goggle to use this goggle map in my app?
how to did get map intellisense ?
Install types for google maps
very good thank you very much, it helped me a lot.
great!!!! Thanks a lot friend.
nice tutorial. how about implementing search bar?
hi you do have video on geolocation in ionic ?
Great tutorial. I can use this in an app today. Thanks man!
This man :) keep great work
Good job friend!
Ionic 4 anyone? It doesnt show any error but map is not shown :/
same here
same here
y con google maps native
Im getting a typescript error " cannot find name google"
You need to add - declare var google;
Thanks, Its now working even if i didn't add the declaration. Was using your project "googlemapsionic" from github. My question now is if I change the coordinates and re-run the project like below
let coords = new google.maps.LatLng(-17.827 ,31.0583);
I get a typescript error " cannot find name google" but if i revert to your original coordinates its working just fine.
Probably kinda late, but I think its due to the space in the middle of the coords, I was having the same error
Does this work with ionic 4?
I haven't tried but there is no reason that won't. It should.
@@thesamarthagarwalI've tried, it does not work, can you make an example with IONIC 4?
@@luisandro late answer but you need to add "declare var google;" at the top of your file where you want to use google
@@sventh6617 Thanks for answer. Do you use google maps and ionic 4?
@@luisandro yeah, i do
the indians are the best in programming ❤️