Select to view content in your preferred language

Pop Up question

1534
2
10-10-2014 08:56 AM
TimHayes
Frequent Contributor

I am using ESRI Basemaps. When I click on a pipe or any feature, if I click directly on it nothing pops up; but if I click just off to side of each feature the pop up appears, but the feature highlighted is offset from the feature seen in the map viewer. See attachment for details.

I added the LODS, this works great allowing me to zoom in real close so the users can see the piping, pumps, and valves inside our pump stations; but this is not an issue and has nothing to do with LODS.

I am thinking it could be a projection issue; my data is in State Plane US Feet not sure what the ESRI Basemaps is in.

Any ideas on how to resolve this?

0 Kudos
2 Replies
Shauna-RaeBrown
Frequent Contributor

Tim, are you using the "ArcGIS Viewer for Flex" or building in from scratch? I think it might be important to make sure that you set your map projection in the mxd that you used to create the mapservice.  We use a state plane projection, and have made sure that all of our datasets are in the same projection.  Generally, the flexviewer loads the basemap first which sets the application's map projection, and then the operational layers (services) from your ArcGIS Server go on top.  That's my best advice.  Good luck.

0 Kudos
TimHayes
Frequent Contributor

I have built the map viewer from scratch using XML. I am using 4 MXDs in the map viewer and all are set to State Plane. I am using the ESRI Basemaps for the 2 Basemaps. Here is my XML code from my main config file. What do you think?

<map esrilogovisible="false" openhandcursorvisible="true" scalebarvisible="true" zoomslidervisible="false" wraparound180="true" addarcgisbasemaps="false" initialextent="-13600139.175459811 4468215.724403949 -13535397.012502356 4504905.497980785" wkid="102100" top="40">

         <lods>

            <lod resolution="0.01866138385628320" scale="70.5310735"/>

            <lod resolution="0.03732276771256650" scale="141.0621470"/>

            <lod resolution="0.07464553542513300" scale="282.1242941"/>

            <lod resolution="0.14929107085026672" scale="564.2485881"/>

            <lod resolution="0.29858214164761665" scale="1128.497176"/>

            <lod resolution="0.5971642835598172" scale="2256.994353"/>

            <lod resolution="1.1943285668550503" scale="4513.988705"/>

            <lod resolution="2.388657133974685" scale="9027.977411"/>

            <lod resolution="4.77731426794937" scale="18055.954822"/>

            <lod resolution="9.554628535634155" scale="36111.909643"/>

            <lod resolution="19.10925707126831" scale="72223.819286"/>

            <lod resolution="38.21851414253662" scale="144447.638572"/>

            <lod resolution="76.43702828507324" scale="288895.277144"/>

        </lods>

        <basemaps>

              <layer type="tiled" label="Streets" icon="assets/images/basemap_streets.png" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" visible="true"/>

              <layer type="tiled" label="Imagery" icon="assets/images/basemap_imagery.png" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" visible="false"/>

        </basemaps>

0 Kudos