Tagged Questions
0
votes
1answer
38 views
leaflet fitBounds with multiple marker
I have created two checkboxes. If I check one it will zoom to a point with marker. If I uncheck the checkbox the marker removed. Similarly second one is working. But I want to do if the two checkboxes ...
1
vote
1answer
35 views
How to find direction points using Google Maps API 3?
I am drawing a route in Google Maps. I have passed the start point, way points and end points. My route is drawing correctly. I am using Google Maps API 3.
request = {
origin: originAddress,
...
1
vote
1answer
53 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
0answers
94 views
OpenLayers map not showing on my JQuery Mobile site
I have an OpenLayers map which is suppose to be made using variables from a PHP array once a button is clicked on my JQuery Mobile site. For some reason however, it is not showing on my page when I ...
2
votes
1answer
155 views
call child div function from parent (not using window.opener)
This is a a Javascript/JQuery question that is directly related to the ArcGIS Javascript API...
I have a map div created using a 'data' tag in HTML, which becomes visible on a button click.
(I'll ...
1
vote
1answer
97 views
passing geocode results object to another file
I'm using a geocoding plugin (Leafet.GeoSearch) on a map and I'd like the results, being the LatLng point coordinates, etc available as a parameter for GeoServer cql filtered calls.
It doesn't seem ...
0
votes
1answer
139 views
How to read/write a/from a file in javascript with prototype.js/jQuery.twFile support OR anyotherway
I want to write my data into a file from OpenLayers, I have gone through Prototype.js and jQuery.twFile.js or anyother way to write into a file.
3
votes
1answer
485 views
Click link inside Leaflet Popup and do javascript
I have a leaflet map up and running. It overlays a series of polygons (via GeoJSON) on the map and attaches popups to each polygon. Each of the popups display information about that polygon.
I'd ...
5
votes
2answers
2k views
Adding/Removing Leaflet GeoJSON layers
I'm trying to show different GeoJSON layers at different zoom layers using the Leaflet API. I can load and display all three layers at once (though I don't actually want them all to show at once). I ...
2
votes
0answers
51 views
Features disapearing
When I add a polygon feature it shows on the map. When I add another one the first one disappears. The code for adding is below:
$.postJSON('@Url.Action("GetLayers")', { "planId": planId },
...
0
votes
1answer
1k views
Google Map - display specific markers popup using a list of markers
I have the following code:
<script type="text/javascript">
window.onload = function() {
// Creating a new map
var map = new google.maps.Map(document.getElementById("map"), {
...
0
votes
1answer
295 views
Openlayers loop through json array and output result with as javascript
Connection.php file which stored database connection code with json:
<?php
$username = "root";
$password = "";
$database = "roadmap";
$url = "localhost";
$con = mysql_connect($url, $username , ...
3
votes
3answers
1k views
How to get JSON from Geoserver using AJAX request
I am building a web mapping application using Leaflet and a sort of customized WFS-T API to place and retrieve features from PostGIS. I have the script for putting features in PostGIS tables down ...
0
votes
1answer
179 views
drawing graphic layer on client side with arcgis
hello I'm usign ArcGIS JS api v. 2.8 and..
I've got some problems with drawing graphics point on client side. The problem is, when I draw points by first time by JS api everything is OK. But when ...
1
vote
0answers
194 views
What are some really cool web/mobile GIS UI examples? [closed]
I need some ideas on eye candy for our product. We have to display maps with lots of data on accessible through the web. Most sites I have seen have a Google, or OSM map with markers and layers ...
2
votes
1answer
626 views
How to curve lines between points on a map?
I'm trying to curve the lines between points on a RaphaelJS map like Tata Communications - but how did they do it? What sort of mathematics lie behind these curves - unless ofcourse they're all ...
1
vote
2answers
2k views
SelectFeature not working in OpenLayers
I'm still sort of new to openlayers, but I've been able to set up a map which reads in a KML, loops through the different regions contained therein, and draws those polygons on a vector layer overtop ...
4
votes
2answers
447 views
Is there an existing way to do linear referencing in ArcGIS JavaScript API 2.1?
First of all, let me specify that this is for the JavaScript API 2.1 or later only, not ADF/Google/Virtual Earth/Silverlight/Flex or any of the other extensions.
We've been creating geometry from a ...
