36
|
Chapter 3
Accessing Maps
Using JavaScript or JScript within an HTML page, you can create controls on the
HTML page, such as list boxes and buttons, that interact with the map. However,
JavaScript and JScript do not behave uniformly across all browser/operating
system combinations. Internet Explorer has the following limitations:
■
Internet Explorer 4.0 for Mac OS does not support JavaScript. It supports
JScript, but JScript cannot control a Java applet.
■
Because Internet Explorer exposes applets as COM objects instead of Java
objects, API methods that pass observer objects will not work. For exam-
ple, the
digitizePoint
method requires an instance of the
MGDigitizePointObserver
object. Therefore, Internet Explorer would
not be able to access
digitizePoint
or any other methods that pass
observer objects as arguments, including the following
MGMap
methods. If
you need to use any of these methods, implement Autodesk MapGuide
Viewer, Java Edition from Java instead of JavaScript or JScript:
■
addMapLayer
and
addMapLayers
■
all of the
digitize
methods
■
viewDistance
and
viewDistanceEx
The following table lists the levels of support that JavaScript or JScript
provide across different configurations.
Содержание 15606-011408-9300 - MAP R6.3 UPG
Страница 1: ...15306 010000 5060 October 2001 Autodesk MapGuide Release 6 Developer s Guide ...
Страница 6: ...vi ...
Страница 16: ...16 ...
Страница 30: ...30 ...
Страница 84: ...84 ...
Страница 134: ...134 ...
Страница 202: ...202 ...