Can anyone recomend a good javascript lib for working with Google Maps or Live Maps(virtualearth )?
Is jQuery og Prototype something to consider?
I think I remember that asp.net ajax had some controls and hooks for working with virtual earth back in the day, but cant seem to find it any more.
Cheers
jQuery and Prototype are "general" JS frameworks (for lack of a better word), mostly aimed at manipulating the DOM/handling events etc. You want one of the Map APIs:
Google Maps API
Yahoo Maps JS API
Virtual Earth SDK
I've used both jQuery and Prototype. They both have their ups and downs, however I recently switched from Prototype to jQuery and have really been enjoying it.
Here is a link to the Google jQuery plugin.
Google's own Javascript Client Library can be used to interact with various google services, including maps.
I could have sworn this was already available. Looks like it isn't still. The Dojo toolkit might be the first to implement it, though. Look for developments here.
Related
Google translate provides a very simple solution of adding a dropdown to translate an entire page:
https://www.w3schools.com/howto/howto_google_translate.asp
It looks like Bing used to provide a similar tool before it was merged into Microsoft's cloud service. Is this possible to do anymore with Microsoft? I only see them providing REST endpoints, would it be much more difficult to achieve the same thing?
A) <script src="https://apis.google.com/js/platform.js"></script>
versus
B) <script src="https://apis.google.com/js/api.js"></script>
I am a little bit confused about how to use Google OAuth service, should I use platform script or api script.
The functionality in platform.js is a superset of the functionality in api.js. If you are using both the sheets APIs and the sign-in API, platform.js will suffice, you needn't load both. ~https://github.com/google/google-api-javascript-client/issues/658
platform.js is a platform detection library that works on nearly all JavaScript platforms.
platform.js is for informational purposes only & not intended as a substitution for feature detection/inference checks.
platform.js is Google's library for accessing the Google Plus API.
Platform.js is part of the BestieJS “Best in Class” module collection. This means we promote solid browser/environment support, ES5+ precedents, unit testing, & plenty of documentation.
Using the platform.js library, it becomes very easy for us to detect the browser just by writing one line of JavaScript code. You can get this library on GitHub. All the complicated code is already written in this library and we just have to use it.
The answer of Neha Jha is right for your question, however, I wanna update the news from Google. They announce to discontinue Google Sign-In JavaScript Platform Library for web and they ask us to migrate to the new thing before 31/03/2023.
platform.js is the Google Plus API, which has been shut down march 7th 2019.
api.js is the Google API Client Library for JavaScript "The Google API Client Library for JavaScript is designed for JavaScript client-application developers. It offers simple, flexible access to many Google APIs."
Use api.js for your use case. See this.
I'm sure this question will be downvoted, but...
Is Google Maps MarkerManager still "a thing"? On some of the Google documentation I see it mentioned, and in other parts of I do not.
All of the information I can find on this library seems very outdated. It also causes an error if this library is included on the page before the Google Maps API is loaded. Is there a newer recommended method for handling lots of markers the way this library does?
2 years Ago, when I was working on map based project, we used markerclusterer library. It might suit your needs. Here's a simple example
some more examples
I'm currently working on a mapping project using the Google Maps JavaScript API.
But my application will be much more advanced then showing a single map and will eventually show multiple map "views" as well as options to manipulate the map using forms on the page.
I have used a couple different HTML 5 JavaScript frameworks such as Backbone.js, Angular.js as well as Ember.js for other projects but nothing has worked well with Google Maps.
I'm wondering if anyone would recommend using a particular JavaScript framework for working with Google Maps JavaScript v3 API.
Preferably something with an active plugin/module for Google Maps would work best. I have created my own special views in Backbone for Google Maps but it does not work as "well" as I want it to.
If you have a suggestion to use a different mapping API, other than GMaps, I would love to hear about it too.
There is also an ember-leaflet proyect, seems interesting but I did not taste it yet.
https://github.com/gabesmed/ember-leaflet
http://gabesmed.github.io/ember-leaflet/
Good luck
Turns out there are two really great approaches.
EmberJS + Leaflet http://gabesmed.github.io/ember-leaflet/
AngularJS + Leaflet http://tombatossals.github.io/angular-leaflet-directive/#!/
AngularJS + Google Maps http://nlaplante.github.io/angular-google-maps/#!/usage
I have decided to either use AngularJS or EmberJS with Leaflet, as the Leaflet API is much more robust than the Google Maps API. (imo)
Not a Google maps solution, but you said you'd love to hear about other possible mapping solutions. Well, ArcGIS has a Javascript API https://developers.arcgis.com/en/javascript/ that is directly coupled with the Dojo javascript framework, though they do have a light version of the API as well that still runs off a stripped down version of dojo, but is more aimed at allowing integration with other JS frameworks.
May or may not meet what you're wanting, but it's an option anyway and figured I'd pass it along. They have a number of samples and such so I'd suggest you go there and take a look rather than me trying to explain.
I second the ember-leaflet suggestion. You can use any map provider you want, through leaflet.
I am looking for a piece of code, or even a list of all browsers' properties JavaScript can access so I can prepare my own stats system.
I'm not looking for anything that server-side parser can get (e.g. Agent, referrer, etc.).
I am not interested in external solutions like Google Analytics.
The reason for this is that I want to run it within company's Intranet and I require it to be internal solution.
Updated Answer...
You can run Google Analytics on your intranet too: http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55510
Original Answer...
Have you considered using Google Analytics?
It's got an impressive list of features, and even a Narrated Tour.
"Installation" is simple. Just copy/paste a small block of javascript into your website template.
(source: sizlopedia.com)
I believe I've found a solution:
Piwik
It looks very, very promising...
For Intranets, you might find some benefit in AwStats, or a similar application.
Piwik
Unica NetTracker (Online Demo)
Affinium NetInSight (Flash Demo | Online Demo)
AwStats
Webalizer