esri

Arcgis : how to get device location

十年热恋 提交于 2019-12-07 04:37:25
问题 Hie i tried to implement this codes in my application but it doesnt work , i dont know where i went wrong. basically, when i launch the sample of the device location. it doesnt show me where is my current location and i dont see any blue dots that resembles the current location i am at. the only thing that i see is the map . just a plain zoom out map. I would be really thankful if someone who could help me out on how to get the current location with the blue dots that is displayed on the map.

TimeZone by Coordinate [duplicate]

馋奶兔 提交于 2019-12-07 01:02:29
问题 This question already has answers here : How to get a time zone from a location using latitude and longitude coordinates? (15 answers) Closed 4 months ago . As the title infers I need to find a time zone (or perhaps just the UTC offset) based on a pair of coordinates. I've been searching for different solutions, and there is a couple of web services out there but I need to be able to access the application offline. As the timezones isn't completely based on longitude it doesn't seem that easy

ArcGIS Runtime SDK for WPF学习笔记(一)

混江龙づ霸主 提交于 2019-12-06 12:28:30
  本节主要讲解如何安装ArcGIS Runtime SDK,以及移除注释与水印。   附上 ArcGIS Runtime SDK for .NET 的官方操作手册网址: https://developers.arcgis.com/net/latest/wpf/guide/install-the-sdk.htm 一、项目添加 ArcGIS Runtime SDK 引用 。    鼠标右键点击项目,选择“管理NuGet程序包”。   在“浏览”中输入“Esri”,在列表中选中“Esri.ArcGISRuntime.WPF”进行安装。 二、在View中使用地图。   在界面中添加引用 xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" 后,就可以直接使用地图控件了。 1 <esri:MapView> 2 <esri:Map> 3 <!-- 用法一 --> 4 <!--<esri:ArcGISTiledLayer Source="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" />--> 5 6 <!-- 用法二 --> 7 <esri:Map.Basemap> 8 <esri:Basemap> 9 <esri

ArcGIS-PictureMarkerSymbol-向地图添加图片标记

被刻印的时光 ゝ 提交于 2019-12-06 09:42:49
1、基于4.13 版本 <link rel="stylesheet" href="https://js.arcgis.com/4.13/esri/themes/light/main.css"/> <script src="https://js.arcgis.com/4.13/"></script> 2、JS代码 require([ "esri/Map", "esri/views/SceneView", "esri/symbols/PictureMarkerSymbol", "esri/geometry/Point", "esri/Graphic", "esri/layers/GraphicsLayer" ], function(Map, SceneView,PictureMarkerSymbol,Point,Graphic,GraphicsLayer) { var map = new Map({ basemap: "gray" }); var view = new SceneView({ container: "viewDiv", map: map, zoom: 12, center: [0, 0] }); var gLayer = new GraphicsLayer(); map.add(gLayer); var symbol = { type: "picture-marker"

Reuse an AngularJS template between page views for the same route

空扰寡人 提交于 2019-12-06 09:28:22
I am using a third party JS API that creates an object attached to an html element on my angular template. Each time the template is loaded I want to reuse the object already created and reattach it to the correct html element. In this plunker you can see the issue demonstrated. And here are the steps to reproduce. I really appreciate any suggests on how to preserve the first object between page loads. Thanks in advance. Problem Description To understand the problem: Tap the "Show Map" link above. The "map.html" template is loaded correctly and a map is shown. Move the map or zoom in a little

入门Leaflet之小Demo

坚强是说给别人听的谎言 提交于 2019-12-06 07:44:28
入门Leaflet之小Demo 写在前面 ---- WebGIS开发基础之Leaflet GIS基本概念:GIS、Map、Layer、Feature、Geometry、Symbol、Data(Point、Polyline、Polygon)、Renderer、Scale、Project、Coordinates; GIS开发概述:架构模式、常用平台和SDK、二维三维 使用Leaflet开发常用功能 地图加载(底图类型、切换): 地图操作(缩放、平移、定位/书签、动画): 图层管理(加载、移除、调整顺序): 要素标绘(点/聚簇、线、面,符号化/静态动态): 属性标注(字段可选、样式定制): 专题地图(点、线、面,渲染): 查询定位(属性查询、空间查询/周边搜索/缓冲区/面查点线面/点线查面、图属互查、综合查询): 信息窗口(入口、Popup、定制): 坐标转换(): 空间运算(长度面积测量、点取坐标、缓冲区、相交包含关系): 动态监控(固定点状态切换、车辆监控): Leaflet API Demo用到的库 Flat-UI Flat UI is based on Bootstrap, a comfortable, responsive, and functional framework that simplifies the development of websites. Flat

Help plotting Geographic Data in R using PBSMapping and Shapefiles

核能气质少年 提交于 2019-12-06 02:19:28
问题 Using O'Reilly's Data Mashups in R as inspiration, I'm trying to plot a handful of addresses on a shapefile of Salt Lake County, Utah found here. I have data frame geoTable: > geoTable address Y X EID 1 130 E 300 S 40.76271 -111.8872 1 2 875 E 900 S 40.74992 -111.8660 2 3 2200 S 700 E 40.72298 -111.8714 3 4 702 E 100 S 40.76705 -111.8707 4 5 177 East 200 S 40.76518 -111.8859 5 6 702 3rd ave 40.77264 -111.8683 6 7 2175 S 900 E 40.72372 -111.8652 7 8 803 E 2100 S 40.72556 -111.8680 8 And I've

WebGIS实战系列 一、环境准备

久未见 提交于 2019-12-06 02:11:01
目录 @ 前言 近期会在博客发布一系列有关 WebGIS 的实战课程,技术栈: vue 全家桶+ arcgis Server + arcgis API 3.x + asp.net 实现一个简单的城市供水管网系统。 前置知识准备: es6 语法 node 的简单安装包 vue 、 vue-cli 3.0 、 vuex , vue-router ,以及 elementUI 框架 axios asp net mvc 框架(后台可能会使用 koa2 ) arcgis SOE 开发扩展 arcgis server 功能 arcgis 的简单操作:发布地图服务,矢量化地图等等。 arcgis sde for postgresql 安装 ThreeJS 实现三维管道展示 我的环境是 arcgis 10.2 版本的,大家也可以进行安装。 可以补充一下这些知识,我也会在博客里面写有关代码的说明。 1. 加载地图 首先使用 vue-cli 创建一个项目,我是使用 element UI 进行搭建项目的整体框架,界面如下,代码我会上传到我的 github 上面 esri 推出了一个非 dojo 框架加载地图的一个包 esri-loader ,我们可以查看 https://github.com/Esri/esri-loader ,按照提示的步骤进行操作,首先输入命令: npm install --save

Arcgis : how to get device location

烈酒焚心 提交于 2019-12-05 10:36:14
Hie i tried to implement this codes in my application but it doesnt work , i dont know where i went wrong. basically, when i launch the sample of the device location. it doesnt show me where is my current location and i dont see any blue dots that resembles the current location i am at. the only thing that i see is the map . just a plain zoom out map. I would be really thankful if someone who could help me out on how to get the current location with the blue dots that is displayed on the map.. this is my MainActivity.class public class HelloWorld extends Activity { MapView mMapView = null;

TimeZone by Coordinate [duplicate]

南笙酒味 提交于 2019-12-05 03:14:43
This question already has answers here : How to get a time zone from a location using latitude and longitude coordinates? (14 answers) Closed 3 months ago . As the title infers I need to find a time zone (or perhaps just the UTC offset) based on a pair of coordinates. I've been searching for different solutions, and there is a couple of web services out there but I need to be able to access the application offline. As the timezones isn't completely based on longitude it doesn't seem that easy... I though about querying an ESRI shapefile I've got containing all the countries in world and their