Using Google Maps website to create a keyless Embedded map - google-maps-embed

I notice that, if I follow the instructions on this google maps answer, there is no information about the requirement for an API key when embedding a Google Map iframe into the HTML of my website or blog.
What will be the requirements for this sort of use regarding keyless embedded maps access following June 11?

None I suppose,
I'm using ruby explaining the code below
<iframe ... src="https://maps.google.com/maps?q=#{question}&z=15&ie=UTF8&iwloc=&output=embed" ... ></iframe>
So far this is working (Aug 30) and should be working for a while since it's the Maps way to share addresses. This embed forces a couple logos related to Google like, Maps Embed API (free but not keyless)
If you plan to use Maps as a developer with other options please consider registering an API in Google cloud.
Meanwhile, you could use it like you are using it.

Related

Any alternative to Google Maps API with directions from current location?

I am currently developing a web site for my thesis which features my City's tourist spots (e.g. malls, parks, restaurants) with Google Maps API that shows the current location of the user and the destination point and all the possible routes to said destination. But sadly, with the Billing system I am limited to load a few maps before it says "OVER_QUERY_LIMIT".
I have researched few free Maps API and I have found some, like MapBox, HERE Api... What would be the best free alternative for Google Map API?
P.s. I am still a student and can not afford to pay $200. If there are any other possible ways in handling this, please do let me know. Thank you!
Check Freemium Plan from HERE Maps, 250.000 transactions/months for free, no need for credit card.
You can use JS, REST and Native APIs.

Any javascript adapter / wrapper library for web maps such as Google Maps and Yahoo Maps and Bing Maps?

Is there any available javascript adapter/wrapper library which can be used instead of programming directly to a specific API such as Google's API ?
I am just about to learn how to use web mapping services, and now want to figure out which mapping service I want use for a new website under development.
Though, I would like to make it easy to switch into some other mapping service without rewriting lots of code, and would prefer to simply reconfigure which mapping service to use, so I can just keep on programming to a generic adapter API instead of rewriting code when for example switching from using Google Maps to Yahoo Maps.
For example, in the tutorial at:
http://code.google.com/apis/maps/documentation/javascript/tutorial.html
there are some Google specific types such as 'google.maps.LatLng' , 'google.maps.Map' , 'google.maps.MapTypeId' and I guess that Bing and Yahoo API's have their corresponding types for doing a similar things.
So, the main question is if there is any generic adapter/wrapper API library that provides a general abstraction API with different implementations targeting specific mapping API's ?
There is one such api called Mapstraction. It allows one to develop for bing/Google/Yahoo with the same set of instructions.
The disadvantage is that these map providers are not equal feature wise, and so there might be a gap between Mapstraction api and the native ones. But for simple things you shouldn't have a problem.

Bada - Integrating Maps API to my application

I'm trying to integrate Maps to my Bada application. I've tried deCarta but unfortunately it comes with an ad. There is an ad on each form that displays a map and it's not pleasant.
So, can you please recommend me another maps API that will work well with the Bada platform. Does Google Maps API or Yahoo's service go along well with Bada? Or is there a way to remove the ad on deCarta's maps (on the free version)?
Any help, comment and such will be greatly appreciated.
Thanks =)
Please don't remove the ad - that would be a violation of the terms of service. You could always pay to use the API and then you will never have to deal with ads on your application.
What is the part of the advertisement that you don't like. It would be great if you could give suggestions on how you would like to see the advertisements presented in the application.

Geocoding Chinese addresses using Google Maps API in Python?

I have looked into Geopy and googlemaps (http://py-googlemaps.sourceforge.net/) and they both do not work for Chinese addresses. My app is stored on the Google App Engine. What I want to do is to parse a file containing addresses of restaurants in Hong Kong, and then Geocode the addresses and store the Lat and Lng in the datastore. How do I do this?
Try the Chinese language version of GoogleMaps ditu.google.cn. It is better than the China coverage in the English Google Maps (at least it was a couple of years ago when I last looked into it).
Be aware that the Chinese government restricts foreign use of GIS data, so there may not be a good geocoding solution available if you are based outside China.
I am not sure the API provides geocoding in China. Are you also saying that even with the google maps interface you can not get the geocoding to work. If that is the case then you better try to move on to a different service since there is quite a bit of functionality in the gmap website that is not in the API. So if the website doesn't work it is probably a darn good bet the API won't work.

How to track if browser is Silverlight enabled

I'm trying to get some stats on how many of the visitors to our website have Silverlight enabled browsers.
We currently use Google Analytics for the rest of our stats so ideally we'd like to just add 'Silverlight enabled' tracking in with the rest of our Google Analytics stats. But if it has to get written out to a DB etc then so be it.
Nikhil has some javascript to Silverlight tracking to Google Analytics. I have tried this code but Google Analytics doesn't pick it up.
Does anyone have any other ideas/techniques?
In case you missed it, there's a link to a more detailed article as well in the comments: http://blogs.msdn.com/jeffwilcox/archive/2007/10/01/using-google-analytics-with-rich-managed-web-applications-in-silverlight.aspx
Edit: As David pointed out, this article covers the reverse scenario more (how to write your silverlight app so that it plays well with Analytics).
I think you answered it yourself. The page you are linking to does just that: detect which version of Silverlight the user has (not if s/he installs it). From the page:
After a little poking around, I found that Google Analytics has support for reporting a user-defined field.
...
Basically this detects the presence of Silverlight, and if its available, it records the version as the value of the user-defined field. Now your analytics reports will have one of three values: "(not set)", "Silverlight/1.0" or "Silverlight/2.0".
#Vaibhav
The Using Google Analytics with rich (managed) web applications in Silverlight article is very interesing but is more focused on how to get your Silverlight app to send messages to Google Analytics.
#Cd-MaN
Yeah, I thought that too but I have tried running my page with Nikhil's javascript and Google Analytics didn't pick it up. But I could have screwed something up somewhere.
I'm just interested to know if anyone else has managed to do this (track Silverlight-ness) successfully.
I've written a lightweight Silverlight library that helps make it easy to integrate Google Analytics in your silverlight app. You can grab download the code or binaries here.
I think the code posted on Nikhil's blog is out of date if you are using ga.js and not urchin.js.
The use of the global function __utmSetVar() is replaced by the tracker method _setCustomVar()
http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html#_gat.GA_Tracker_._setCustomVar

Resources