Google Maps is a desktop and mobile web mapping service application and technology provided by Google, offering satellite imagery, street maps, and Street View perspectives.

learn more… | top users | synonyms

3
votes
1answer
42 views

Google maps API code

I have inherited a site which uses the Google API to create a map on my webpage. I don't know much about JavaScript but from the research I've done, I dont think this code is optimal as it is not ...
3
votes
1answer
70 views

Displaying a Google map with multiple complex markers and unique info windows

This JavaScript file is part of a large Ruby on Rails app. Any feedback is appreciated. Update 3.7.16: as per @Jonah's suggestion, here's a description of the code's purpose: I've built a ...
1
vote
1answer
35 views

An ETA plugin for hangoutsbot

This is a plugin for hangoutsbot/hangoutsbot that listens for words people say and then gives them an ETA and a link with directions. Happy to hear about any optimisations that could be made. ...
1
vote
1answer
56 views

Google Maps coordinations JSON to object

I am trying to write a parser from JSON data which I get from Google requesting coordinates of a city, which will create my specified object structure. For parsing, I've written a custom ...
2
votes
0answers
336 views

Google maps class inside fragment , with marker carry object

I need someone review my google map class , here is my situation I am working in medical project , I created one class to show hospital items in map with data object , here is my fragment class , I ...
2
votes
0answers
32 views

Google Maps convenience object

I have added the full code of my current Gmap component, which is a convenience object to abstract Google Maps functionality: ...
2
votes
1answer
85 views

Multiple Google Maps using V3 API

I have several Google Maps on one page and each has its own set of Lat/Lng co-ordinates. As a result I have added in the JavaScript options for each one individually as follows: ...
3
votes
0answers
212 views

Looping through Parse.com queries

Here's my JavaScript file that queries data from Parse and then updates my Handlebars.js template to display them. The code has 3 async calls using a Promise. It still feel like it could be improved, ...
6
votes
2answers
176 views

Zip Code to City, State for registration form

Took me a couple of days (in between working on other projects) to get the code working, but now that I do have it working I would like to know if there is a way that I could make it work better, or ...
4
votes
2answers
271 views

Object-oriented JavaScript and Google Maps objects memory management

I have to draw various instances of HeatMaps, Winds and Polylines. Each layer will have one ...
-1
votes
1answer
97 views
4
votes
1answer
422 views

Wrapper library for Google Static Maps API

I've recently read the books Clean Code and Effective Java. I am a huge fan of Object-Oriented Java. I am trying to write as professionally as possible. I have been an Android Developer for 20 months ...
0
votes
3answers
65 views

Data-entry keypads for entering addresses

This was a little app I wrote looking for a way to create consistency in the way employees taking phone orders enter the address. The purpose of the app is to require a user to enter a valid ...
4
votes
1answer
450 views

My Google Maps Script v3

My Google Maps Script v2 I re-factored my code to be more OO. Does it have any more room for improvement (naming, readability, oop, etc.)? I'm importing ...
3
votes
2answers
201 views

My Google Maps Script v2

My Google Maps Script v1 Using the Google Maps JavaScript API v3. Does my script have any room for improvement (naming, readability, oop, etc.)? I'm going to pair it with some live time ...
2
votes
1answer
135 views

geoInput jQuery Plugin

I made my first jQuery plugin, and was hoping to get a review. I'm especially interested in comments on whether I went about building up my html and applying the css in a reasonable manner (I chose to ...
6
votes
2answers
876 views

My Google Maps Script

I've written a script with the Google Maps JavaScript API v3. I've ran it through JSHint and everything seems to be valid. I'm wondering if my script has room for improvement. Any suggestions are ...
6
votes
1answer
341 views

Google Maps API latitude/longitude pair to Google Fusion Tables query

I'm trying to learn JavaScript, and as a practice tool I recently wrote a simple web app that uses the Google Maps API Geocoder to get the latitude and longitude of a location (user input), manipulate ...
1
vote
1answer
68 views

Reduce memory use for a property geolocator

I have to run a script against 40 million objects in my database: I wrote the script and I want 10 instance of it so I process my objects faster. The goal is to find all the neighborhood for each ...
3
votes
2answers
497 views

Adding markers to a Google Maps map from a source

I decided to make a simple project to learn the Google Maps API. I'd appreciate a review of the code below. I'd like to know what I did right and wrong. The code pulls data from one source and adds ...
3
votes
1answer
62 views

Geocoding library

I've written a Geocoding library that is hosted on Github. It has got 7.9 rating by the scrutinizer. I've checked and the only thing that I think I can improve is ...
6
votes
1answer
2k views

Clustering markers on Google map on zoom

I have a method that is getting called when someone zooms camera on the map (Google map). I recalculate the positions of markers of map and the code is clunky and not effective. I iterate over arrays ...
2
votes
1answer
402 views

Google Map, SVG Graph and ruler

I would like to get feedback on the code. It is working and can be seen here. I welcome any kind of feedback, since I am just starting to use JavaScript. Epecially in the case of performance, there ...
15
votes
1answer
9k views

Simple Async Google Maps initializer with AngularJS

Here is a simple reusable AngularJS factory I came up with to initialize Google Maps Asynchronously, which somehow does not seem ...
0
votes
3answers
2k views
3
votes
1answer
2k views

Google Maps JavaScript API v3: Sorting Markers with Check Boxes

Recently I built a map with custom markers (pins) and a sorting function to display each by type (Member, Supplier, Prospect, New Member). The HTML (check boxes wired up with ...
6
votes
2answers
11k views

Simple application for finding local restaurants

I was asked to create a test APK file by a company HR when I applied for an Android developers job, Specification: The goal is to develop a simple application which finds the local restaurants. ...
1
vote
1answer
3k views

Directive to create a Google map

I have a considerably large directive which is doing many things: First it renders a Google Map, then it adds a listener to check when the bounds of the map change, then it renders points on the map ...
3
votes
1answer
253 views

Entering address details into Google Maps geocoder

I have a Google Maps Geocoder and I am looking to refactor it. The user enters address details into a form where at the bottom there is the option to show on map. First the map is hidden The user ...
0
votes
1answer
634 views

Generating redundant data for Google Maps markers

I'm a mediocre programmer at best and am pretty terrible at JavaScript. But I have been tasked with creating a Google Maps application. This application is driven by a dynamic report with a Java layer ...
2
votes
1answer
4k views

Adding events to multiple markers in a Google map

I was looking over questions related to setting up markers on a Google map, and though the following works perfectly fine for me, it was different from the other (and accepted) answers. I just wanted ...
1
vote
1answer
185 views

Nested Google Maps Listener

This nests Google Maps Event Listener for click or drag. How should I refactor the last part where it reuses the function getAddressComponents()? If there are other ...
2
votes
2answers
841 views

Address geocoder

If you notice, there are variables of street_address, route, intersection re-used in the ...
5
votes
1answer
163 views

Geolocation check and error management for Google Maps

I've written this code that I've been using for a while now to check for browser geolocation services for Google Maps applications. I have to say that I am not very happy with it as I've had to hack ...
3
votes
1answer
202 views

Polygons on Google Maps

I have Polygons on Google Maps API V3, and I would like to write this shorter: ...
1
vote
2answers
2k views

Markers on Google Maps

I am using PHP to get data from a MySQL database, and use the data to drop multiple markers into Google Maps. Please give me some suggestions for my code. ...
2
votes
1answer
680 views

Displaying markers for local attractions on a Google map

I have created a page that displays markers for local attractions on a Google map. There are a few functions that do similar tasks and I have tried to reduce these by incorporating them into one ...
2
votes
1answer
188 views

Adding pins onto a Google map

I have the following block of code which adds pins including descriptions and links onto a Google map. How can I refactor it so that I can add pins easier and without so much redundant code? ...
5
votes
1answer
181 views

Google Maps buttons

This is the proof-of-concept code with drafts for widgets for my current project that uses Google Maps. As a result the code produces 3 buttons in the top right corner: Any advice on how I may ...
2
votes
1answer
347 views

Google Maps project in JavaScript

I want you to review my JavaScript project. ...
9
votes
1answer
1k views

Spherical Voronoi diagram, binary splitting approach

Given 5 (currently hardcoded) cities, this code uses Google Maps to split the world into 5 regions, each region being the points closer to a given city than to the other 4. It works, but is slow in ...
6
votes
2answers
7k views

Placing a Google map in Colorbox

I need to place a Google map in Colorbox overlay and am wondering if there's a better way to do this. I've just started out with Google's tutorial so there's nothing fancy going on. Right now I'm ...