Skip to content

Commit 700f42b

Browse files
ICL-1431 classic服务端专题图示例“添加专题图”地图无变化
1 parent 10fcbcf commit 700f42b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

examples/classic/theme_themeGraduatedSymbol.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ <h5 class='panel-title text-center' data-i18n="resources.text_graduatedSymbol"><
6666
function addThemeGraduatedSymbol() {
6767
removeTheme();
6868
var themeService = new SuperMap.REST.ThemeService(url,
69-
{eventListeners: {"processCompleted": themeCompleted, "processFailed": themeFailed}}),
69+
{
70+
isInTheSameDomain: true,
71+
eventListeners: {"processCompleted": themeCompleted, "processFailed": themeFailed}
72+
}),
7073
graStyle = new SuperMap.REST.ThemeGraduatedSymbolStyle({
7174
positiveStyle: new SuperMap.REST.ServerStyle({
7275
markerSize: 50,

examples/classic/theme_themeRange.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_themeRange"></h5>
6363
function addThemeRange() {
6464
removeTheme();
6565
var themeService = new SuperMap.REST.ThemeService(url, {
66+
isInTheSameDomain: true,
6667
eventListeners: {
6768
"processCompleted": themeCompleted,
6869
"processFailed": themeFailed

examples/classic/theme_themeUnique.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_themeUnique"></h5
6363
function addThemeUnique() {
6464
removeTheme();
6565
var themeService = new SuperMap.REST.ThemeService(url, {
66+
isInTheSameDomain: true,
6667
eventListeners: {
6768
"processCompleted": themeCompleted,
6869
"processFailed": themeFailed

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy