Is there a way to affect the styling of the copyright part in google maps API v3?
I'd like to move it up by 10 pixels for example, since I have some overlapping right now and it doesn't show up (and that's contrary to the Terms of service).
Any ideas would be appreciated.
I have never come across away, and i very much doubt there is, google dont own copyright to all there maps and would probably have legal agreements with other map providers.
It just would not be worth it for them.
Out of interest what are you trying to put there?
Related
I wish to use the results of the Google translation that results from right clicking on a web page in Chrome, as opposed to using the API. These results I will use as part of a web language learning tool. I have read this page: https://cloud.google.com/translate/attribution about adding a logo, and have also read the HTML markup requirements at https://cloud.google.com/translate/markup.
My question is as these terms and conditions pages are referring to the API, do they also apply to using the translation results of using the Chrome menu item? I could use the API but this is much simpler for my temporary need.
Yes, when you're using the Google Translate Tool in a page by using the right-click, you can see that it send a request to the Google Translate API.
In definition, you have to add Google Attribution.
I guess for a personal website or non-commercial use it might not be that big of an issue but still, it will avoid future ones.
When using the API the images in some situations are outdated compared to what is provided in the public Google Maps interface.
Is there anything we can do about this?
Regards
Jeremy
No, there isn't anything you can do about that, other than possibly to select different versions of the Maps API or to select the "visual refresh" in the API.
The Maps API and the Google Maps site don't use the same map tiles and imagery. Much is common between the two, and they tend to sync up over time, but it will always vary as new releases of each come out.
We are creating a website for motorbike tours and would like our visitors to be able to enter a start and end location and have this update an embedded Google map on our own website, basically highlighting the best route. We'd like it to work exactly as the "Directions" feature on Google Maps works.
Is this possible? If so, how best to acheive this?
Also, we'd like to restrict the businesses and places of interest that appear on the map as some of them simply won't be relevant to our motorcycle audience. Is it possible to filter out businesses and places of interest and only display what we would like to display?
Really appreciate any advice that could be offered. Thank you.
Regards
Nath.
Yes you can there is already a post with a HTML example. There are limitations on how many requests can be performed in 1 day for free usage. Check the licensing information on the google site.
google maps plot route between two points
Surely you can.
Take a look here and here (the first is for javascript functionality, the second for server-side functionality through web services).
With these API you can show map, show pinned point on that and, using the direction API, you can also calculate the best route among other things.
About the businesses and places you want to show, you can use the places API. though I never used this one, so I can only suggest to have a look at the documetation.
What is the best way to make a website based on JavaFX supported with ad revenue? Do you have to put the ads out side of the applet in the regular html space, or can you use JWebPane to render the add inside the applet?
My opinion is that you'll have a hard time convincing marketing and ad agencies to invest in JavaFX based designs. They would have to be very compelling. Flash is the category killer for interactive designs. These decisions cost companies a lot of dollars. I've seen developers screw up the onclick mechanism on banner ads and likely screw their advertisers out of a lot of responses due to pop-up blockers. Companies are not inclined to move away from a tried-and-true approach. That is why Silverlight is having such a tough time getting saturation. Their ace-in-the-hole was gonna be HD support for media. Even with that leap forward, they are having a hard time attaining penetration. From what I understand, the number of people installing Java in their browsers is on the decline (still a respectable number at 80%). Sun was hoping their niche was going to be ubiquity (available on on devices). But battery drain is a concern of Apple, who won't sanction java on the iPhone.
Officially Sun plans to support what you envision. They call it Project Insight.
In the meantime, ff you want to use Google Analytics, you can still just add the script outside the applet. Just don't expect good search discovery unless you also plan for that (maybe using metadata).
In terms of deep-linking which is necessary for click-through tracking, I think you're out of luck. If you want to use JavaFX to create dynamic content, don't expect it to be searchable or trackable.
Have a look at Project Insight. Maybe you can beat them to the punch (they seem to be taking their sweet time, as JWebPane was promised last year).
If you want to track users actions such as button presses inside your JavaFX web application with Google Analytics then you can try using gaforjavafx ( Google Analytics for JavaFX). Gaforjavafx is a software module for integrating the Google Analytics Tracker API with your JavaFX web application. The following blog explains how to use gaforjavafx in your JavaFX program to send tracking information to Google Analytics.
http://gaforjavafx.blogspot.com/
.
I'm new to Google map api. My goal is to overlay a series of transparent PNGs over a map over a timespan.
I'm wondering if a purely javascript approach to this is a good start, or if it would be not too hard to do some code behind in asp.net
Also, I'm curious if either google map Api v2.x or v3.x is better suited to this task
You will need to do it in Javascript, unless you want to reload the page every second or so. (Which is a horrible idea).
You might as well use the latest version of the Google Maps API.
I recommend avoiding v3 for live sites until its syntax is more stable.
While it's a Google Labs project, Google's policy is that they can make changes to the syntax that will break existing pages with only a few months notice in the discussion group. A while ago they changed the names of all the get_ and set_ methods, and changed some of the event names.
Once the API goes out of Labs and into Beta you can expect Google to take care to preserve backward compatibility whenever they make syntax changes. If you use v3 for a live site while it's still in Labs you'll need to monitor the discussion group for announcements of changes that might break your page.