AnsweredAssumed Answered

How to load custom places from file or db

Question asked by speed258 on May 15, 2017

Hello since Google maps can load custom places from .xml file, what about Arcgis, I found that they have example, but its saved in .json format, while i retrieved their example .json and put on my local server seems it can't load, so how to load custom places using Arcgis? Example:


I read that server must be enabled mime types, so I enabled these:



My server is XAMPP:

XAMPP Installers and Downloads for Apache Friends 

Do I need todo more, because it doesn't load

My first file saved as json:

"title": "Recent Uploads with geodata",
"link": "https:\/\/\/photos\/",
"description": "",
"modified": "2017-05-10T17:53:36Z",
"generator": "https:\/\/",
"title": "Ronda - Spain",
"link": "https:\/\/\/photos\/henkverheyen\/34191951980\/",
"media": {"m":"https:\/\/\/4168\/34191951980_25bd33ea18_m.jpg"},
"date_taken": "2017-04-22T21:50:10-08:00",
"description": " <p><a href=\"https:\/\/\/people\/henkverheyen\/\">Henk Verheyen<\/a> posted a photo:<\/p> <p><a href=\"https:\/\/\/photos\/henkverheyen\/34191951980\/\" title=\"Ronda - Spain\"><img src=\"https:\/\/\/4168\/34191951980_25bd33ea18_m.jpg\" width=\"240\" height=\"160\" alt=\"Ronda - Spain\" \/><\/a><\/p> <p>20170422_Ronda_266<\/p>",
"published": "2017-05-10T18:00:45Z",
"author": " (\"Henk Verheyen\")",
"author_id": "72671715@N05",
"tags": "andalusi\u00eb es spain spanje avond longexposure night ronda andaluc\u00eda city",
"latitude" : "36.741852",
"longitude" : "-5.166348"

And as XML:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xmlns=""
<title>Recent Uploads with geodata</title>
<link rel="self" href="" />
<link rel="alternate" type="text/html" href=""/>
<generator uri="">Flickr</generator>
<title>The Poke House, Fort Lauderdale, Florida</title>
<link rel="alternate" type="text/html" href=""/>
<content type="html">&lt;p&gt;&lt;a href=&quot;">Symbiosis</a> posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;" title=&quot;The Poke House, Fort Lauderdale, Florida&quot;&gt;&lt;img src=&quot;" width=&quot;240&quot; height=&quot;160&quot; alt=&quot;The Poke House, Fort Lauderdale, Florida&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
<link rel="enclosure" type="image/jpeg" href="" />
<category term="poke" scheme="" />
<category term="thepokehouse" scheme="" />
<category term="fortlauderdale" scheme="" />
<category term="florida" scheme="" />
<category term="liguidaloha" scheme="" />
<category term="konabrewingcompany" scheme="" />
<georss:point>26.128913 -80.108759</georss:point>

function requestphoto

function requestPhotos() {
//get geotagged photos from flickr
var requestHandle = esriRequest({
//url: "",
//url: "objects.xml",

url: "objects.json",
callbackParamName: "jsoncallback"
requestHandle.then(requestSucceeded, requestFailed);

And it throws in cosole always failed, files are in same directory, what I'm missing?