Google maps API MarkerManager - javascript

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

Related

Google Maps JS v3 and HTML5 JavaScript Frameworks

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.

Getting Started with google maps API, displaying a community

I am trying to immerse myself into the Google Maps API to display some locations on a website. I have looked through the official documentation found here: https://developers.google.com/maps/documentation/javascript/tutorial However, I am a visual learner, and have a lot more success working through tutorials hands on.
My objective for now is very simple, I just would like to display a sub locality (that is already within google maps, i.e. https://www.google.com/maps/preview?authuser=0#!q=Greenfield+Lakes%2C+Gilbert%2C+AZ+sub+locality&data=!1m4!1m3!1d33995!2d-111.7348491!3d33.3303003!4m10!1m9!4m8!1m3!1d4249!2d-111.736458!3d33.338736!3m2!1i1920!2i979!4f13.1 and display that on my own website.
Does anyone have any recommendations on how to start this process or know of a tutorial that could help me on my way?
i have implemented same with google maps. may be this will give you some idea Google Maps implementation
also answered similar question here https://stackoverflow.com/a/7894821/942855

Add get directions link to InfoWindow Google maps V3

Back with another google maps V3 question.
Here’s the background; I now have a map populated by a number of markers with info windows and what I want to do is add a link in the info Window that when pressed opens another browser window with google maps directions info in it.
I'v read a number of tutorials including the one by Mike Williams but most of them are either written for V2 of the API or just plain don’t seem to work, so do any of you good people know of a good noob tutorial that can give me some idea how to do this?
Thanks in advance
If you're just trying to send folks to http://maps.google.com for a directions query, a URL like http://maps.google.com/maps?saddr=Start&daddr=end might work, but I don't think there's any official documentation on those URLs.
If you want to have directions as part of your application, you should probably take a look at some examples of the Direction Service in the JS API.

Upgrading to v3 from v2 of google maps API, suggestions

I have full fledged integration of google maps version 2 in my web application, with features like get directions, cluster markers, tabbed info window, context menu(right click). The implementation has very poor design which is causing some problem, So now I need to revamp the core implementation to better design. I was thinking of upgrading to version 3 of google maps API. Please suggest, if that's a good thing to do and my all features will be running fine(or I will get replacement for all the features mentioned) in less time. Or should I stick to the version 2 of the google maps API?
I recommend you upgrade to v3. I upgraded my site a few months ago (and blogged about the experience). A few things to keep in mind:
No more API key.
The marker and info window API has changed, for the better.
No more AJAX helper stuff. If you are using GXMLHttp, you will need to swap over to a new AJAX wrapper (Jquery, mootools etc).
Check your lat/lngs are in the right order. GPoint takes x and y (longitude and latitude). v3 has a latlng object, so your params might be backwards.
Styled maps - You will be able to customize your color scheme in v3.
Don't think you can turn on the Google earth plugin in a single line of code like you could in v2 (not 100% on this, so please correct me if I am wrong).
Once you are done, you will be happy to make the change. Pages load faster, zooming is smoother (polyines scale as you zoom instead of disappearing) and the mobile experience is much better.

JavaScript lib for google maps or live maps

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.

Categories