JavaScript is a prototype-based, object-oriented scripting language that is dynamic, weakly typed and has first-class functions.
1
vote
1answer
17 views
Probleme with WFS protocol in OpenLayers
Sorry for disturbing. I know my problem look common, but I really don't know what to make.
Here is my code for getting a WMS layer in OpenLayers from Geoserver.
var wfs2 = new ...
1
vote
2answers
35 views
Apply styles to WMS layer
I am working with OpenLayers (and GeoServer) and I am showing a WMS layer with countries in a map.
Each object (country) in the layer has an attribute called NAME (the name of the country).
I created ...
0
votes
0answers
55 views
Dojo Gantt Chart doesn’t work properly wqith ArcGIS API 3.3
I am using a Dojo Gantt Chart in ArcGIS javaScript API3.3.
and it seems that it does not work properly with the API3.3
popup menu which appears when you hover over the task or project; it pops up too ...
0
votes
0answers
21 views
Is there a JavaScript SDK for Vehicle Tracking?
Does exist a JavaScript SDK for Vehicle Tracking? Like this:Map Suite Thanks.
1
vote
1answer
38 views
OpenLayers is not adding marker to my map
I have an OpenLayers map and I create it using a JavaScript function. I then have a button which when pressed calls another JavaScript function which has code to add a marker to the map.
For some ...
-2
votes
0answers
33 views
open layers popup questions plz help me [closed]
Please help me.
http://dev.openlayers.org/sandbox/CloudAmber/Trunk/GooglePopups.htm
I want to include these Google-like popup's functions in my code (below).
<!DOCTYPE html>
<html>
...
4
votes
0answers
39 views
Is it possible to implement sticky move tolerance in a ArcGIS JavaScript API application?
We are working on a project in ArcGIS JavaScript and is going fine. We want to add sticky move tolerance to our project so it will not be so easy to move features on the map.
Is it not possible to ...
0
votes
1answer
27 views
Does leaflet support KML Ground Overlays?
I found an example showing KML overlays at http://harrywood.co.uk/maps/examples/leaflet/kml.html but it only plots vector layer using polygons.
Is there any way to plot Ground overlays of KML (like ...
3
votes
1answer
63 views
Problem with a large number of markers on an OpenLayers map
I have created a map using openlayers. On this map I place markers. Coordinates of the markers are taken from my database (sqlserver 2008), the quantity of markers is about 1500. The map is displayed ...
0
votes
0answers
29 views
problem marker and popup
Displayed not correctly popup when clicking on the marker, the popup appears to the left in the corner of the screen and need to be near the token display. Help( here is my code:
var map;
var ...
1
vote
2answers
283 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 ...
2
votes
0answers
48 views
OpenLayers crashes stock browser on Android 4.0.4 devices [closed]
Update: The issue appears to be with OpenLayers Release 2.13 dev. I mistakenly mentioned 2.12 as being problematic but have retested with no problems. Also, no problems with 2.13rc3
We're ...
0
votes
1answer
45 views
Different Styles Within Vector Layer
Is there any way to configure OpenLayers styling method? I have a vector layer and I would like to style the features depending on a value of a flag variables, so I can't use rules. Lets say I have ...
0
votes
1answer
34 views
problem with popup conclusion on pressing a marker
I have markers on pressing to which popup has to be brought. how to make it? (coordinates of markers undertake from a DB)
var map;
var markers;
function ejecutar() {
init(3);
...
1
vote
0answers
29 views
Unable to reorder after layers from multiple ArcGISDynamicMapServiceLayers
I used the ArcGIS Javascript layer reordering sample as template.
Initially I have 4 layers added to the map by ArcGISDynamicMapServiceLayer where reordering was working. Then, instead of using add ...
0
votes
1answer
37 views
How to draw a line between markers in openlayers
how to draw the line between markers, coordinates of markers undertake from a DB. whether it is possible to draw in general lines between markers, I saw examples only with points.
markers = new ...
-1
votes
0answers
34 views
Get attributes and geometry from a feature and convert it to a graphic in JavaScript
How can I get the attributes of a selected data (wfst) and push it into a grid? Can I convert this selected feature to a graphic?
Any idea?
1
vote
1answer
32 views
Problems editing geometry in JS script using a find task in a web application
I've generated a javascript code to my app based on the sample "Show find task results in a DataGrid" of ArcGIS API for JavaScript and I am using editable layers (WFS-T) and it works, but when after ...
1
vote
1answer
103 views
How can i use snapp point in when i use measurecontrol?
I have problem about measurecontrol . I can use measurecontrol and i can show length to use measure control . But my problem is that .i didnt use in snap because measurecontrol is a control not ...
0
votes
1answer
22 views
Multiple FeatureType in WFS Protocol
I would like to pass multiple featureTypes to WFS protocol in order to accomplish a search feature in my app. the idea worked just fine with one featureType, but now I need to add another one to ...
0
votes
2answers
49 views
ArcGIS javascript api - layer reordering - how to add new layers?
I am learning ArcGIS javascript API and wanted to make a reordering panel for my webapp. I looked through the ArcGIS sample.
but I'm stuck at addLake() function. If I'm understand the sample ...
2
votes
1answer
42 views
How to render iD editor-style streetmaps?
Is there a simple way to render OSM data (let's start with just streets and names for a single metro area) client side as nodes and edges like the new iD editor?
I'm comfortable with d3 but am ...
0
votes
0answers
47 views
where clause with multiple fields : Arcgis api for javascript [migrated]
I am tring to perform a query with three fields .I have three combobox,each one is populated with a field values.I want to query with the value selected from combobox for each field.I want to know how ...
0
votes
1answer
49 views
OpenLayers generate random polygon
I have a world map. I need randomly to generate polygons and render them on map.
I have no problem with rendering, but can anybody suggest how to generate polygons with random geometry? (I need n ...
2
votes
1answer
33 views
First time using ArcGIS JavaScript API - where do I find the JavaScript API to include (.js) into my solution?
I'm writing a web service that will interface with ArcGIS. One of the requirements is to put:
esri.config.defaults.io.proxyUrl = "proxy.ashx";
in the JavaScript portion of the page. Of course, it ...
3
votes
5answers
90 views
javascript WKB to WKT function
Turns out json ain't so good at transporting binary data. But with HTML5, XHR2 is now capable of transferring blobs cleanly. I'm looking to transfer binary geometry (to save bandwidth) and decode it ...
0
votes
1answer
115 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 ...
1
vote
1answer
43 views
jquery communication with arcgis services
I am working with the ArcGIS JavaScript API for my application. My app users are stored in a table published in a map service. Whenever a user wants to connect to the app, he needs to provide a ...
0
votes
1answer
30 views
How to add offset to layer in OpenLayers?
As the title suggests,I have GeoJSON vectors on OpenLayers map where user should add X/Y offset (i.e 5 meters north,5 meters east).I plan to add some control for it.
Since vectors are drawn map with ...
0
votes
1answer
52 views
Why won't this mapbox map load into a DIV container?
All,
For the life of me I can't figure out why I can't load a map into a CSS template I'm trying to customize.
I've placed a fiddle here:
http://jsfiddle.net/mapbaker/Du7zq/10/
Basically I'm ...
0
votes
1answer
23 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 ...
2
votes
1answer
48 views
ArcGIS JS - Missing “style” when printing dynamic layer
Im having an issue trying to get the url of the map being printed with a dynamic layer. WIth just tiled services and basemap it prints just fine.
// USED FOR PRINTING OF MAPS
function ...
0
votes
1answer
29 views
Dynamic data on overlay layer in openlayers
I am using openlayers to visualize an industry using image as the layer. On the raster layer I have created an overlay layer.Is it possible to show updated values (dynamic runtime values - as integer) ...
0
votes
0answers
14 views
populate a combobox in jsviewer widget
I'm woriking with jsviewer and JSAPI v:2.8. in one of my widgets I have a combobox which I want to be populated once the widget is opened .it should be populated with a field values coming from a ...
0
votes
1answer
58 views
creating map not working
am following this tuto to create a map on web with geoserver, GeoEXT, EXTJs, and openlayers here's the linki downloaded ext 4.2.0, openlayers 2.12 and GeoEXT 1.1, when i try to show the map : ...
7
votes
1answer
129 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 ...
2
votes
1answer
102 views
ArcGIS JavaScript API geometry service offline capabilities
Lately I've been going through ArcGIS JS API samples, but from what I've seen, it looks like all geometric functions always go through server, and use server side REST functions. There is no option to ...
1
vote
0answers
32 views
Want a transformation box after a user draws a polygon
I have built an application which allows users to draw a polygon inside another polygon. The two polygons are in different layers for some application specific reasons. After the user draws a polygon, ...
0
votes
0answers
13 views
MapInfo8.0 is not letting me edit layers imported from the server? [duplicate]
I have imported 4 layerts from my server for use in MapInfo, when i went to edit these layers the edit tool for each of these layers is grey and non accessible.
Any suggestions would be greatly ...
1
vote
0answers
21 views
Updating leaflet variable using dajax?
Really, I think this a somewhat easy question for someone with some more experience in javascript programming.
I have a Django app to map some locations using leaflet. I'm using dajax for some on ...
0
votes
0answers
58 views
Getting “pointer” cursor at mouseover for rules/symbolizers based clusters in OpenLayers
I successfully used the AnimatedCluster plugin for OpenLayers. My codes uses OpenLayers.Rules and symbolizers. How can I get a "pointer" like mouse cursor when hovering over a cluster of features?
My ...
3
votes
1answer
184 views
Trouble with accesing API code: “ReferenceError: esri is not defined”
I am developing a web map application in the ArcGIS API for Javascript.
I two have ArcGISDynamicMapServiceLayer layers that I am trying to run a simple query task on. The code I am using works in ...
1
vote
1answer
37 views
How to upload polygon data for appending to a geodatabase via a JS API web application
After a many hours of research, I am having a hard time determining the feasibility of an application I am trying to build.
Basic proposed functionality is: user logs in, uploads polygon (either ...
1
vote
0answers
68 views
Google Maps v3 with Openlayers - First Zoom Level
I use Google Maps v3 in my application and I noticed a strange behavior, When I refresh the web page, the map zoomed out to display the whole map then get back to the zoom level I specify in my code. ...
4
votes
1answer
1k views
Openlayers display a markers popup using a button out of the map
I have the following code which addes 3 markers to the map along with there popup boxes what I want to do is have a list of location at bottom of page and using the id of the marker when click a place ...
0
votes
0answers
32 views
SLD based selection on WMS layers - How to set the new style of clicked point?
I'm trying to follow this example:
http://openlayers.org/dev/examples/SLDSelect.html
When I click on the point, its color should be changed, here is a piece of my code:
control = new ...
2
votes
3answers
160 views
get latitude & longitude as per address given for leaflet
In my project I am using leaflet to display points.
I am getting address from my database & want to show point for that particular address.
I dident found anything which will give me latitude ...
12
votes
4answers
2k views
Which framework is best to implement an application robustly, using ArcGIS Server JS API?
Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS:
...
0
votes
0answers
21 views
openlayers addUniqueValueRules default style not displaying
I'm trying to alter the colour of displayed points using addUniqueValueRules in OpenLayers. If I don't use addUniqueValueRules all my points display the default colour (green). However, when I add ...
0
votes
1answer
79 views
How to properly use PostGIS with Maps
First time using PostGIS in an app.
Target:
- Get Heat Map of customers from address table using leaflet.js and heatmap.js
Have DB called store_dev.
Installed OSM Bright from Mapbox in it.
Have a ...




