New answers tagged google-maps-api
0
If you already using OpenLayers map engine there is no need to add the second map engine of google. I did this on past and now I splitting what should be done in one and other. Loading both engines is heavy and will cause problems. OpenLayer for example get looked at basic google.maps.Map resolutions, zoom levels from 0 to 18( or 22 ) if I remember well.
I ...
1
Check out the open-source GDAL/OGR utilities - (the OGR part) http://www.gdal.org/ogr2ogr.html
ogr2ogr.exe is a command-line tool which can be used in the FOR loop in a batch file to go through all your files and transform them. (for example in windows you create a *.bat file and put your DOS code for looping there).
In the OGR link above there is also a ...
0
I don't remember where I have found it first, when I needed it but this library is working perfect a fits all my needs when displaying WKTs on a google map:
var GeoJSON = function( geojson, options ){
var _geometryToGoogleMaps = function( geojsonGeometry, opts, geojsonProperties ){
var googleObj;
switch ( geojsonGeometry.type ){
case ...
1
Firstly you need to make sure that your WKT string is properly formatted.
After that you can use a custom function to parse the string, and draw a polygon.
I could use the following code:
var wkt="POLYGON(...)"; //this is your WKT string
//using regex, we will get the indivudal Rings
var regex = /\(([^()]+)\)/g;
var Rings = [];
var results;
while( ...
0
Just a quick guess but should that be multipolygon rather than polygon in your wkt?
How are you producing your wkt and what does google maps show at the minute?
0
Do you mean like this? Sorry had to create an answer to post the image (regard this as a comment with picture attached for clarification)
Your KML Tiled with NW/NE & SW/SE quadrants
Top 50 recent answers are included
