<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: use own marker, onclick and html pop up window in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-own-marker-onclick-and-html-pop-up-window/m-p/13610#M1289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Benedikt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quite a few questions here...in the future, I'd recommend you try to stick to a single focused question for each post and note specifically what you've tried and where you're stuck. This forum works much better when discussing narrow topics rather than how to develop an entire app. That being said, I'll try to address your questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only difference when using your own basemap as opposed to one from ArcGIS Online is the URL you supply to either &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/ArcGISTiledMapServiceLayer"&gt;ArcGISTiledMapServiceLayer&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/arcgisdynamicmapservicelayer.htm"&gt;ArcGISDynamicMapServiceLayer&lt;/A&gt;&lt;SPAN&gt;. To set up your map, take a look at this sample, just swap the arcgisonline.com URL with the URL for your map service:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_topo.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_topo.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To use your own markers, put them somewhere on your web server and then create PictureMarkerSymbols using your custom icons. The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_topo_graphics.html"&gt;Topographic Basemap with Graphics&lt;/A&gt;&lt;SPAN&gt; sample shows how to create &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/picturemarkersymbol.htm"&gt;PictureMarkerSymbols&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you have your marker symbols, you can start creating and adding graphics. To get what you've described for your info window/popup content, take a look at the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_featurecollection.html"&gt;Feature Layer from Feature Collection&lt;/A&gt;&lt;SPAN&gt; sample. It has nicely formatted popups with an embedded image. Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2011 20:53:29 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2011-05-23T20:53:29Z</dc:date>
    <item>
      <title>use own marker, onclick and html pop up window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-own-marker-onclick-and-html-pop-up-window/m-p/13609#M1288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i would like to use my own map, without a basemap in a web page. (my map is uploaded on arcserver)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then i would like to add some markers that i designed myself and uploaded them on arcserver. so i can import them. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the next thing i would like to add is a specific pop up window for each marker that shows some html formatted text or maybe a pic as well. it should pop up when i click on the marker. but not just an infowindow that shows the content table of the marker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i worked all that out for google maps, but i cant find the right parts in the esri forums and bring them together. i am sruggeling with the sourcecode of esri. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess there is quite an easy way of doing it, but as i said, i couldnt find it yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this forum helped me with lots of problems yet and i am shure you guys have an aswer for that as well. would be great if you could post some examples of the source code as well, cause as i said i am new to this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hope to hear of you soon&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 18:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-own-marker-onclick-and-html-pop-up-window/m-p/13609#M1288</guid>
      <dc:creator>BenediktDieser</dc:creator>
      <dc:date>2011-05-23T18:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: use own marker, onclick and html pop up window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-own-marker-onclick-and-html-pop-up-window/m-p/13610#M1289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Benedikt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quite a few questions here...in the future, I'd recommend you try to stick to a single focused question for each post and note specifically what you've tried and where you're stuck. This forum works much better when discussing narrow topics rather than how to develop an entire app. That being said, I'll try to address your questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only difference when using your own basemap as opposed to one from ArcGIS Online is the URL you supply to either &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/ArcGISTiledMapServiceLayer"&gt;ArcGISTiledMapServiceLayer&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/arcgisdynamicmapservicelayer.htm"&gt;ArcGISDynamicMapServiceLayer&lt;/A&gt;&lt;SPAN&gt;. To set up your map, take a look at this sample, just swap the arcgisonline.com URL with the URL for your map service:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_topo.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_topo.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To use your own markers, put them somewhere on your web server and then create PictureMarkerSymbols using your custom icons. The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_topo_graphics.html"&gt;Topographic Basemap with Graphics&lt;/A&gt;&lt;SPAN&gt; sample shows how to create &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/picturemarkersymbol.htm"&gt;PictureMarkerSymbols&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you have your marker symbols, you can start creating and adding graphics. To get what you've described for your info window/popup content, take a look at the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_featurecollection.html"&gt;Feature Layer from Feature Collection&lt;/A&gt;&lt;SPAN&gt; sample. It has nicely formatted popups with an embedded image. Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 20:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-own-marker-onclick-and-html-pop-up-window/m-p/13610#M1289</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-05-23T20:53:29Z</dc:date>
    </item>
  </channel>
</rss>

