JavaScript is a prototype-based, object-oriented scripting language that is dynamic, weakly typed and has first-class functions.

learn more… | top users | synonyms (1)

2
votes
0answers
485 views

Openlayers and Google Maps Api aren't work on Android Platform

I have application that uses OpenLayers, Google Maps Api and Geoserver My application is running at Web browser and when I try to run at Android tablet (using Phonegap), It runs but openlayers ...
0
votes
0answers
200 views

saveStrategy and OpenLayers

I am trying to apply code mainly from here http://maps.peterrobins.co.uk/files/ol6.html and create a custom "saving button". Problem is, that my json is loaded (from mysql db) to variable. (This time ...
1
vote
0answers
65 views

Recommended way to use a setting file to initialize OpenLayers

I am new to OpenLayers. I am trying to figure out what is the best way to have a configuration file for the map I am creating. For example, I am creating a map with the following style : var ...
2
votes
4answers
902 views

Get coordinates from address

I am writing a application which allow users to save a address into database (db) and in the next step it shows all addresses on a map. But in the saving step I need automatically calculate a GPS ...
1
vote
0answers
167 views

Create Materialized View to Flatten ArcGIS JavaScript API Database

I'm doing a project using ArcGIS JavaScript API v3.5 hosted on ArcServer v10.1. While reading the question below, remember that I do not have control over the datasource and cannot just create a ...
3
votes
2answers
321 views

Are there any good libraries for visually creating simple Google Maps?

I'm working on a simple webapp that lets the journalists I work with easily construct styled Google maps. In short, I need an interface that lets users place markers, set zoomlevel and choose a ...
1
vote
0answers
467 views

Help me convert this US Lambert Conformal Conic Google Maps Projection to Australia

Following on from this question: Identify what projection this Australian map uses? <- this is the sort of map i want to load in I need help changing the bits necessary in this example of Lambert ...
0
votes
1answer
340 views

Issue selecting feature for IdentifyTask (Javascript API)

I am having an issue selecting features in my web map for an IdentifyTask operation. I have a dynamic map service that contains a few sublayers that I would like to be able to click and have a popup ...
1
vote
1answer
280 views

Hover on Airport Data using OpenLayers + Mapfile

I need to create a simple hover using openlayers for worldwide airport data. I'm thinking maybe the associated address, maybe a picture in regards to the airport, ...anything really. It's just an html ...
2
votes
1answer
195 views

OpenLayers: Can I drag a feature between two maps?

Is it possible to drag the features between two different maps? Now, I create feature on event mouseenter but I would like to insert the feature and at the same time start to drag this feature.
6
votes
2answers
1k views

Progress bar for Leaflet map

Is there any way to show progress bar while waiting that all layers are rendered on Leaflet map? In this specific case, while geojson layers are rendered. Thanks.
1
vote
0answers
41 views

Are there any js libraries for reading OSH data?

I want to do time based mapping on openstreetmap data in the Kathmandu, Nepal area. I think i have two options Using OpenStreetMap Change files (OSC) Using OpenStreetmap History files (OSH) I have ...
5
votes
1answer
2k views

How to change a FeatureLayer's symbols?

I did this: dojo.connect(featureLayer, "onUpdateEnd", function() { var defaultSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([0,0,255])); ...
4
votes
2answers
843 views

LeafletJS: Load Tile Layer based on bounding box

I have a LeafletJS map application with lots of layers. I have a few layers that only have imagery for certain regions across the world. Because everything goes on a world base map. All tile caches ...
3
votes
3answers
141 views

Is it necessary to use a third party service for serving this case?

I have been assigned a task to help build a mobile app, which only shows terrain view of map with a fixed (min/max) zoom level based on mobile phone position and moveable markers which are provided ...
3
votes
2answers
1k views

Cluster Strategy different Labeling at Different Level

what I did? I am trying to plot some points using cluster strategy of openlayer using animatedCluster plugin. I have gson data as given: { "type": "FeatureCollection", "features": [ { ...
3
votes
1answer
1k views

display a choropleth map using D3 and Leaftlet

I am trying to get a leaflet map to display a choropleth map using d3. I have written this code using samples I have found however the map just displays as the black fill, not the color classes I ...
0
votes
1answer
92 views

Fusion table styling

I am importing data from fusion table data as a layer. but the colour i used in fusion tables is not reflected in my map. it by default remains red small icon. Please let me know if I am doing ...
0
votes
2answers
1k views

Date Time format in ArcGIS 10.1

I have a Date column in my feature class and I want the date to appear in "dd MMM yyyy" format as a label to a polygon. I am using Arc Map 10.1. I tried taking Jscript. var Dt = new Date(); Dt = ...
2
votes
1answer
1k views

ArcGIS Server js api - buffer query against polygons and not points

I'm using the below sample and i want to change the queried results from points to polygons http://help.arcgis.com/en/webapi/jav...ry_buffer.html Probably very simple but cant get my head around ...
0
votes
1answer
489 views

GeoExt: Turning off layer title in legend

I am using GeoExt for my web mapping project. My web map includes a legend generated by GeoExt. Is it possible to turn off the layer title for a specific layer in legend? I am aware that there is a ...
2
votes
2answers
1k views

How to make editable polygons in Google Maps?

I've just recently started learning Google maps, JavaScript, etc., and have a few questions about a project that I'd like to do. I'm wanting to take some ESRI shapefiles, convert them to KML, and then ...
1
vote
0answers
422 views

maximum limit for plotting lat-long on google maps

I want to highlight a route on google maps along with our network sites. I have successfully done it but when I load data in large proportion then my plugin becomes unresponsive. Can someone suggest ...
0
votes
1answer
528 views

Open Layers Bounds with Lat / Long

I am using a custom map with the TMS in OpenLayers. I know my high/low latitude and longitude points. In other words I know the exact bounds of my map image in Lat/Long. Is there a way to use ...
1
vote
1answer
86 views

ArcGIS 9.3 geoprocessing service output consideration

I'm developing geoprocessing service which do few processes with geographic data. I would like to get somehow geometry of those data and use it in my web aplication (JS ArcGIS API). Now I'm wondering ...
1
vote
1answer
3k views

Bing Maps / JavaScript - trying to open InfoBox with the PushPin click event

I am experimenting with the sample code on the Bing SDK site but am unable to get the click event to work with the pushpins I am adding in a JS .each loop that pulls in longitude, latitude coordinates ...
10
votes
2answers
324 views

Instructor led Web mapping development courses?

Hey guys I have been messing around with programing for a while now and have gotten proficient with Python and have some interest in HTML 5 and Javascript. I have recently received a request for an ...
3
votes
3answers
5k views

local tiles server for offline access

Anyone knows if there is a "lightway" solution to mount a local tile server? Feature I'd to provide is local storage of small sections of maps, not more than small city for example, in order to ...
0
votes
0answers
325 views
2
votes
2answers
85 views

Why is OpenLayers only displaying the first features in my KML?

I have an OpenLayers map (that you can find here, use the blue search area) that reads in a KML string that is written from Perl using data from oracle. It reads the KML like this: var vector_Layer = ...
2
votes
1answer
3k views

How to use Google Default Pan/Zoom controls in openlayers

I am using Google maps version 3 with Openlayers,My question is how do you use the default google control for Panning and Zooming and not the default controls Openlayers panning and zooming(The dark ...
0
votes
1answer
199 views

Suite SDK gxp Print plugin

I have problem with gxp print plugin. I create new sdk project suite-sdk create ~/sdk. Next I do everything from Problems with gxp Print plugin via opengeosuite sdk but there is another problem. But I ...
1
vote
1answer
113 views

ArcGIS JS Modular Feature Layers? Possible?

My ultimate goal is a map which can toggle the visibility of layers on an ArcGIS map. However the data I need to use is not available as a feature service, I have to build it programatically from ...
2
votes
5answers
12k views

Why is this ExtJS combo box not filtering? [closed]

I am trying to place a combo-box in the top of my web application which will search an internal WFS from Geoserver. I am using the combo-box so I can have the "type ahead" functionality which I think ...
2
votes
2answers
44 views

How do I know what parameters I can call for WMS layers?

I'm trying to learn OpenLayers but the documentation is hard to understand. For WMS layers, ex: var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", ...
-2
votes
3answers
335 views

Disable a button until selection is made [closed]

I have this section in my website: There is a drop down list of environments and an area for a user to input a Zip Code. What I am trying to achieve is making the button disabled until a selection ...
1
vote
1answer
211 views

OpenLayers serving a MapServer layer: data won't display correctly without using WMS

I am trying to serve my Mapfile data as a MapServer layer in OL, rather than a WMS layer. When I display it using WMS, everything works fine. The part of the mapfile I have struggled with was ...
1
vote
1answer
461 views

ESRI World Light Gray Base Map JavaScript - Prevent zoom out no more than the full extent

It is my first attempt to use JavaScript and the ESRI products. I am using the World Light Gray Base map for my first web GIS application. I have a question about the map full extent method. I would ...
1
vote
1answer
334 views

How to get bounding box coords?

How to get coords for NW and SE if we have about 4-5 pixels on the image with assigned latit/longit? I'm working on javascript app which would overlay that image on Google Map then. Thanks.
0
votes
1answer
371 views

OpenLayers: How to add permalink long/lat anchor to links outside of map on page

I would like to extend the funtionality of OpenLayers that appends, on-the-fly as the user zooms and pans the map, the longitude/latitude parameters as a anchor to the URL in the browser's address ...
2
votes
1answer
391 views

Application for online overlay images on Google Maps

I want to develop javascript app which will take any image user uploads, user will click on 3-4 points on the image (3-4 cities, for example NY, Chicago, LA and Miami) and image will be overlayed on ...
1
vote
1answer
111 views

openlayers:transform from ITM to 900913 is not accurate

i did a custom projection ITM (Israel TM) and i then am doing transform to all the feature before im adding them to the map, from ITM to 900913 proj because i want to show the feature on the map. this ...
2
votes
0answers
205 views

Show geoJSON properties in jQuery Mobile Panel

First off I'm a novice at JS so please bear with me if this is a simple task to complete. I'm currently using the stock LeafletJS popup bubble to display the properties from my geoJSON. However, I ...
0
votes
1answer
1k views

Not showing multiple markers on OpenLayers

I want to show multiple markers on my Google map with OpenLayers. Below is my code : for (var pointcount = 0; pointcount < jsonObj.length; pointcount++) { if (jsonObj[pointcount].Long != null ...
2
votes
2answers
7k views

Sending xml post request to geoserver

This may be simple question but I can't get started. This tutorial from pen state university has xml request <wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" – we would like ...
1
vote
1answer
2k views

Building SQL statement in javascript and casting variables as strings

I'm working with Postgres 8.3/PostGIS which is storing some polygons. I'm writing a javascript function which will take in a parameter of a watershed id from another function. The javascript will ...
0
votes
1answer
135 views

Openlayers: transfer from custom projection to map projection

I am building webApp with openlayers that contain a map that allowed insert edit and remove points, my map is now using “EPSG:4326" projection. I have shp files and xlsx files that contain polygons ...
2
votes
0answers
162 views

get all the possible parameters of sql view

I have a Geoserver layer coming from a postGIS database. Among other attributes, I have one that is related to the date data we've collected, called departuretime. We use this attribute to display a ...
1
vote
1answer
839 views

How can i turn off the minus to zoom control in OpenLayers while using OpenLayers.Control.KeyboardDefaults?

I have a map using OpenLayers.Control.KeyboardDefaults but I also have a form next to the map that acepts coordinates. As is stands pressing '-' for a negative coordinate does not type but zooms the ...
3
votes
1answer
1k views

WMS Geoserver layer over OSM

I have a Geoserver with a layer in a EPSG:32632 projection. I want to display this layer over Open Street Map tiles. When I use the following html code: <!DOCTYPE html> <html> ...