Google maps in Morocco - google-maps

I would like to use Google maps in a Webapp that is targeted for Moroccans, the thing is the map works fine but the borders for Morocco is not complete. it's a political issue and I'm afraid that is going to cause problems for me. My question is: Is it possible to load in my App a different map that shows the Moroccan perspective of the borders knowing that I've seen it before in a GPS App that uses Google Maps. I tried using a different domain like maps.google.co.ma instead of maps.google.com but it didn't work.
Thanks a lot!

Just set region:"MA" in your API call options
if you're using a link
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&region=MA

Related

Different name google map in my website

i am integrating google maps v3 javascript api in a website for an Arab company.
every thing is working well except for the "Arab Gulf" is appearing as "Persian Gulf" in the website but it shows as "Arab Gulf" in maps.google and its driving them crazy
why is it appearing diferent in my website?
and is there a way to change that ?
Use Localization in the Google Maps Javascript API.
Localization
You may localize your Maps API application both by altering default language settings and by setting the application's region code, which alters how it behaves based on a given country or territory.
Add parameter region=EG to your script src,
or use this script
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&language=ar&region=EG"></script>
It works fine.

Google maps with directions on a wordpress page

How can I get a map that simply shows how to get from A to B with a car on my WordPress page?
I used to do this in Google maps directly, I made a map showing the road from A to B and embed it on the page. It used to be so easy. And under the map I had a link to the same map in Google Maps where you also could get written directions. But like a month ago, Google changed their maps and all my maps got messed up. The links as well. Now I am trying to fix this and make new maps.
I have tried in Google maps directly like i used to do, and this is the closest I get to what I am looking for: https://developers.google.com/maps/documentation/embed/start. But I find that very hard to customize, because there are very few options. I have also tried a lot of different plugins, but so far no luck.
Is there a better way to do this?
If you want to customize the map, I can only strongly recommend you the Google Maps API. Here is a good example of how to integrate the directions service into a map and display it on your web page.

Remove Google Map Marker Text

I have a client who has embedded Google Maps showing the location of a new hospital they are building. Until recently it just showed the pin marker, however now it is showing the longitude and latitude next to the pin. I have tried everything to remove this text but none of the options in the query string appear to do anything.
I think Google has updated the embed code but I can't find any documentation about it though. Does anyone have any suggestions?
Thanks
John
From the research I did, it seems like the new Google maps is pretty rigid and there isn't really a simple way. I think it would require some more complex API stuff.
This is the post that I found that described the limitations Removing the info window from an embedded map in the new Google Maps
Sorry I realize that doesn't really help.

New Google Maps embedding option

Since the latest Google Maps update in 2013, is there a way or a resource that can be used for simple embedding Google Maps?
I have tried using the old maps system but it does not produce desired results.
Also, I have tried using Google Maps Engine, no luck there as well, because you are only served with a link to share, not embed code.
After extensive research on the topic I found no simple way of embedding new Google Maps. Problem will possibly go away once Google decides to update Google Maps. However, I have not seen Google Maps development roadmap and so I can't really vouch for them.
Apart from using simple solution, there are two others (not so simple of course) that might provide a decent substitution.
Solution 1
Using Google Maps API where you can find Developer guides, API reference and code samples. There is no easy way about this, simply follow the instructions and review examples that Google has supplied. Hopefully there might be something in it that will help you.
Simple guide to Google Maps API
Solution 2
Using Google Maps Engine will offer you a way to create your own map. Once you have created a map, added pins, points, routes, etc. at the end you can select option to share. However, option to share just allows you to share a link, not embed. I just wanted to point out this "feature", if you will, of the system.
To embed a map you have to click on a folder in the upper left corner. Shown on the image below and select Embed on my site option.
In the bottom right corner of the map you'll see a cogwheel. Click it.
Click on "Share and embed map";
Choose the size you need from the drop-down menu or choose the custom option;
Click in the box to the right that starts with <iframe src="https://www.google The code should be highlighted. copy and paste it into your web page or blog.
Simples!

How can one get this texture or background on google maps?

Please take a look at this implementation of http://map.embed.ly/ [google maps][1] . Would like to know how it can be achieved ? I have seen only satellite, hybrid implementation this seems new to me
Ankur
It looks like a well done custom overlay on top of Google Maps API (v3).
The GMAP API website has an example that shows the code as well as the output. Good luck!
What you're looking at doing is implementing the Google Maps API. It provides methods for placing custom overlays and data sets into a Google Maps interface:
http://code.google.com/apis/maps/index.html