I followed this guys tutorial
http://stiern.com/tutorials/adding-custom-google-maps-to-your-website/
The tutorial is on adding a custom google map to a website.
Everything works fine, as you can see http://olivegrove.com.gr/?page_id=7
I just really would like to have the directions function on the map,
as it is done on the actual google maps.
Is there a way of adding this?
Does any one a good tutorial on the internet for it?
It's not exactly the same, but it has powerful directions search capabilities; you may want to use the DirectionsServicedev-guide. If you are just starting out with Google Maps, you will also want to check out:
API-Doc
Code Samples
Utility Libraries
Related
I am currently trying to use "listingpro" theme which is a listing directory. There is a search function which cities can be used to search for listings within a chosen radius. The admin has to put in the cities for each of the listings and the search results will appear on the map using google maps api.
However, using zipcodes for search options is not an option. I am wondering if there is some way in which I can add searching by zip code feature so when a user types in their zip code the listings within the designated radius will appear on the search page and on the map. Or if there is a tutorial somewhere on how to do this? This is a bit over my head and I am not sure if this is possible with this theme without doing a ton of customizing.
Thank a lot for your input!
According to this page, this is possible with the Google Places API. I assume the theme uses Google Maps API as default, so switching out or adding the the GPAPI would require a fair amount of customization.
Our website is trying to integrate with both Google Maps and What3words. I need to build an UI display a map with.
A marker on the map, and a search box.
When dragging marker, can retrieve the corresponding 3 words based on its geo coordinate.
When typing into the searchbox, can retrieve the three word based on auto complete result from Google.
Actually it should look like below picture.
What I have archived so far is getting the source code from What3words-map-marker that support What3words API v1 already. But now all the API from What3words has migrated to API v2.
May I check If there are any release from What3words that support wrapper it with Google Maps and API v2?
I'm not sure I follow your question exactly but my company also has just recently implemented something might be the same with your requirement.
Please check this Github page for more detail. Image as below.
This will appear to a duplicate question but please consider this. I am doing an application with google map. my client need to load the places around the visitor, so i am trying to use geolocation. But all the google results and stackoverflow results shows, its impossible with wired network in Safari to get the location. Is there any other possibility that it can be implemented?(i have tried to use Modernizr and the Webshims even its example fails in safari, so i think no hope for that too)
my reference website is foursquare.com. its work perfect with map. is it using google map geolocation?
First of all i dont know is this the exact answer. But i find out a solution for my problem. I used geoLiteCity.dta database to get the location details from the IP addess. Then i Used geocoder to get the location in the map from that address. I am not sure is it a proper way or not, but as far as i am getting the locations. If there is any better way please let me know. Thanks
I'm currently creating an interactive web map using Google Maps Javascript API version 3. I'm not sure if this is possible but I would like to create a series of map layers consisting of different kml files that could be toggled from the side bar. I would also like to be able to access the individual points within the kmls so that when the user clicks on a particular point, photos, text etc. can be loaded outside the map window...
Any ideas on how to accomplish this? I've been searching for a while and only found ways of configuring the infowindow which I personally find unattractive...
There is a way to load KML into a google maps application natively, there is actually a pretty good example of how this is done here:
http://gmaps-samples-v3.googlecode.com/svn/trunk/layers/layers.html
One trick I will mention is that since the KML is downloaded to Google's servers in order to be rendered on the map, it must exist on a public facing web server somewhere, Google won't be able to access it from your local machine.
I found this tutorial which seems like it'll do the trick!
I am trying to embed a map widget into a wordpress blog.
Visitors to the blog should be able to place a marker on the map and others should be able to view places that other people have marked.
It should not require people to log in before placing a marker.
Can anyone recommend such a service?
Just found http://mapservices.org - seems to be working great so far.