Tag Info

Hot answers tagged

9

Firstly, it is possible to add your own data on top of Google Maps, using Google Maps API. For example, this and this page show two different ways of adding a WMS service on to of Google Maps. You can easily add vectors as overlays. OpenLayers has many advantages as compared to Google Maps API, including: It is completely Open Source and standard ...


8

In other implementations (as in, our implementation) this is done with palette modification; you can quickly recolor a PNG image without touching the actual data, if you know the full original palette. Google doesn't do that; they likely have a tile-based database and tiles of vector data that are rasterized on the fly.


5

Officially you have to create tiles for your Panoramic image to become streetview controlled: Providing Custom StreetView Panoramas Function(pano,zoom,tileX,tileY):StreetViewPanoramaData The Maps Javascript API V3 supports the display of custom panoramas within the StreetViewPanorama object. Using custom panoramas, you can display the interior of ...


5

You could give Leaflet Maps Marker Wordpress Plugin a try Pin, organize & show your favorite places through OpenStreetMap/WMTS, Google Maps/Earth (KML), GeoJSON or Augmented-Reality browsers http://www.mapsmarker.com/


5

Mehul, I work in the address verification industry with a company called SmartyStreets. There are lots of geocoding services out there, but only few will support batch processing with the volume you require. (Google and others don't permit bulk use of their API or storing/caching results.) If you go to your MySQL database and perform an export of your table ...


5

It really depends on your users requirements. I recently started a project in the Google Maps API, where I overlaid some services from ArcGIS Server and had some basic queries going on. I wanted to use Google, so that I could legally incorporate their Streetview/Geocoding/Traffic APIs into my map. As this would be a public facing application, I also ...


4

you can achieve this with Google Maps JavaScript API v3 - Directions Service. There is a doc here. and you can see stand-alone google example here. and in this doc. you can get information about Travel Modes. When you calculate directions, you need to specify which transportation mode to use. The following travel modes are currently supported: ...


4

If you like Python, you could use the GeoPy API, combined with the GDAL Python bindings or Fiona, and create a very basic script like this for converting the addresses to a point shapefile. This will geolocate a file named 'addresses_to_geocode', creating an output shapefile named 'my_output.shp': import os from geopy import geocoders from osgeo import ...


4

There are two approaches. One is brute-force: write code to find the distance between a point and a polygon, and then iterate over all polygons. The second involves building efficient data structures, an arduous process. For the first approach, you might look at this Wolfram Demonstration Project for computing the distance from a point to a polygon. Link ...


4

i dont know how do you define your proj4js defination in EPSG27700.js but you have to define it in openlayers as following: Proj4js.defs["EPSG:27700"] = "+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36 +units=m +no_defs"; then you can transform it by this way: var ll = new ...


4

You shouldn't access the coordinates using the property names (i.e. 'Ya' and 'Za') instead use the .lat() and .lng() methods of the google.maps.LatLng object. So I assume your callback function loops through the array of the coordinates (as variable 'coords'). The simple example below would loop through this array and print out each coordinate to the ...


4

In fact, there are various way Google is identifying the requests that are done, and most of the time the way it is done is related to your use case. For general use and using the 'free' version: You can track the usage by specifying an API key even if it's not necessary anymore. The requests are managed by URL (referer) and by IP address. For general use ...


4

I think you will find numerous answers to similar questions on our site by searching the geocode tag. A few that stick out are: Geocoding API Comparison Bulk Geocode 20 million records What reliable GeoCoding service would you recommend me? Is there an open source Geocoding tool which can be used commercially? Geocoding that's anonymous, good, and free - ...


3

check out this example here which uses arcgis service time geoprocessing service and google maps. if your points locate in US, u can use CreateDriveTimePolygons from ESRI here. you need to do is that write Input Location, Drive Times and format as json then execute your process. beside this you should check out similar ques.: Creating drive time ...


3

By default, ArcGIS Server for Java listens on port 6080 and its REST services directory is accessible at the path /arcgis/rest/services. So, given a host name, chances are you can browse its services directory using the following URL structure: http://server.example.com:6080/arcgis/rest/services From there, you'll find a list of services and/or folders ...


3

I know this isn't quite what you are looking for, but I thought you might find it useful anyway. Have you seen this example by Odoe which uses css filters on the maps? Might be limited outside of chrome http://www.odoe.net/apps/mapstyler/ https://github.com/odoe/MapStyler


3

Not exactly an answer, but have you seen The Open Source Routing Machine (OSRM) Their routing engine works on OSM-data it seems, but it is opensource, so it could provide som pointers. And their implementation is FAST: http://map.project-osrm.org/


3

From the Google Maps premier FAQ: The KmlLayer class that generates KML overlays in the Google Maps API uses a Google hosted service to retrieve and parse KML files for rendering. Consequently it is not possible to display KML files that are not hosted at a URL that is available publicly accessible, or that require authentication to access. ...


3

The Google Earth API was released at the Google I/O on May 28, 2008. Here's an excerpt from the article announcing the release: Today, I'm happy to announce the release of the new Google Earth Browser Plug-in, which brings the full power of Google Earth to the web, embeddable within your own web site. Driven by an extensive JavaScript API, you can ...


3

I don't think that it is possible to add local .kml files. The file needs to be stored at a location where the remote API is able to access it. You have several choices as suggested here: Parse the kml file yourself. There are helpful libraries for that. Upload the kml file via Dropbox or Google Docs (see here)


3

I think this is not so hard a problem to solve but I have my doubts about whether the accuracy is absolutely correct. First of all, you have to convert your center lat/lon to pixels with gdal2tiles codes. If I find some time and if you want, I can convert it to stable code for finding corner coordinates. This is a Python code: tileSize = 256 ...


3

If you have access to the underlying HTML element that renders the polygon (I'm not that familiar with the GMaps Api) you could apply this method to draw a Inner Glow. I know is not a solution but that might give you an idea of how to do it.


3

No, it is not possible using the regular API. It may be possible with a third-party library, but not likely for all browsers. Google Maps uses (or at least used to) multiple ways of drawing geometry (e.g. SVG, HTML canvas, etc.) depending on the browser, so even if you could hook into those geometry functions, one solution for inner glow would likely not ...


3

You need to configure your Google layer with an appropriate numZoomLevels value, and also override the internal default for the maximum zoom level with MAX_ZOOM_LEVEL. The latter will cause unexpected behavior if the Google layer does not support all zoom levels. new OpenLayers.Layer.Google('Satellite', { type: google.maps.MapTypeId.SATELLITE, ...


3

Yes. You are correct. Currently the functionality to zoom/fit bounds does not exist for polygon or line data from fusion tables. You will need to use the GVIZ (Google Visualization API) and the geoxml3 parser. I used some of the code from the following applications. One is a polygon example and the other is a line/arc example. There is a post in the Google ...


3

I would suggest you give QGIS Server a shot. I've combined it with Leaflet and Stamen ready-made map tiles (based on OpenStreetmap) to create some really fast and simple maps in "Leaflet, Stamen Toner and QGIS Server – An Intro". Installation of QGIS Server is not too involved (see tutorials for Win7 and Ubuntu). If you want to avoid it, you could look into ...


3

What you are requiring sounds like Map Channels (v4) or MapFab It's Simple you sign up and load your data from Google Spreadsheets in and you can edit/filter data. This does not edit data directly with the map. http://www.mapchannels.com/MC4Demo.aspx If you want edit data directly on the map I suggest: MapFab http://www.mapfab.com/editor/new (both ...


3

The following piece of code allows you to transform your latitude and longitude coordinates from epsg:3857 to epsg:4326 in just one line. Just substitute longitude and latitudine values to LON and LAT in the code. point = new OpenLayers.LonLat(LON,LAT).transform('EPSG:4326', 'EPSG:3857'); In point you'll have an OpenLayers readable point.


3

This may not be the exact answer, but may help you on your journey. Take a look at this Article on How to View Historical Satellite Imagery in Google Earth or Explore Google Earth's Historical Imagery. hope it helps on your adventure.


2

Absolutely. Simply save the info into an array. whether it be the marker object, the coordinates (so you can later recreate the marker), or a combination of both with extra information in your own object. I would go with a markup like geoJSON and save it into an array. var mySavedMarkers = []; mySavedMarkers.push(aMarker); You can then send ...



Only top voted, non community-wiki answers of a minimum length are eligible