MyException - 我的异常网
当前位置:我的异常网» Web开发 » arcgis js 依据坐标画轨迹

arcgis js 依据坐标画轨迹(5)

www.myexceptions.net  网友分享于:2013-04-10  浏览:795次

                        DisplaySettings="visible=True:transparency=0:mime=True:imgFormat=PNG32:height=100:width=100:dpi=96:color=-32513:transbg=True:displayInToc=True:dynamicTiling=True"
                        LayerDefinitions="" Name="MyLayers" />
                </ResourceItems>
            </esri:MapResourceManager>
        </div>
        <div style="position: absolute; top: 113px;">
            <table>
                <tr>
                    <td align="center">
                        <esri:Navigation ID="Navigation1" runat="server" Map="MyMap" DisplayImageUrl="images/directional_arrows_N.gif"
                            Height="52px" Width="52px" Size="44">
                            <DisplayCharacter FontName="ESRI North" CharacterIndex="58"></DisplayCharacter>
                        </esri:Navigation>
                        <esri:ZoomLevel ID="ZoomLevel1" runat="server" Map="MyMap" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
    <%--    鼠标移动,显示坐标,一定要放在MainMap定义之后--%>

    <script language="javascript" type="text/javascript">
        Sys.Application.add_init(initialize);

        function initialize() {
            m_MainMap = $find('MyMap');
            m_MainMap.add_mouseMove(MapCoordsMouseMove);
        }

        function MapCoordsMouseMove(sender, args) {
            var coords = args.coordinate;
            window.status = '经度X: ' +
            coords.get_x().toFixed(6) + ', 纬度Y:' +

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有