Skip to content

Commit

Permalink
將單人世界中的多邊形移掉
Browse files Browse the repository at this point in the history
  • Loading branch information
胡翔喻 committed Oct 20, 2016
1 parent b72f1ae commit 29642ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 250 deletions.
4 changes: 2 additions & 2 deletions NavMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import MultiMap from './MultiMap';

export default class NavMap extends React.Component {
render() {
let defaultName = 'MultiMap';
let defaultComponent = MultiMap;
let defaultName = 'NewMap';
let defaultComponent = NewMap;
return (
<Navigator
initialRoute={{ name: defaultName, component: defaultComponent }}
Expand Down
249 changes: 1 addition & 248 deletions NewMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,254 +424,7 @@ var NewMap = React.createClass({
},

},
{
coordinates: [
[
25.038356214308962,
121.43241584300995
],
[
25.037651469502002,
121.43213152885437
],
[
25.03663565779387,
121.43254458904266
],
[
25.03663322761224,
121.43263041973113
],
[
25.036606495611036,
121.43271088600157
],
[
25.036572473055656,
121.43277794122696
],
[
25.036521439204886,
121.43284499645235
],
[
25.03646068459294,
121.43289595842361
],
[
25.036392639391845,
121.4329147338867
],
[
25.036297862084545,
121.43293350934982
],
[
25.03622252622396,
121.43290936946867
],
[
25.0361714922276,
121.43288791179657
],
[
25.036130178976897,
121.43284767866135
],
[
25.036093726097064,
121.43280744552612
],
[
25.03606699397831,
121.43275380134581
],
[
25.035444863023738,
121.43305957317352
],
[
25.036533590123653,
121.4355218410492
],
[
25.038356214308962,
121.43241584300995
]
],
type: 'polygon',
alpha: 0.5,
fillColor: '#1880FF',
id: 'Blue'
},
{
coordinates: [
[
25.038604089106112,
121.43194109201431
],
[
25.038511743651988,
121.43172919750214
],
[
25.03845585031704,
121.43162727355956
],
[
25.038370795193263,
121.431525349617
],
[
25.038198254618102,
121.43144220113754,
],
[
25.038023283646154,
121.43146365880965
],
[
25.037855602897153,
121.43156290054321
],
[
25.037785128311047,
121.43163800239563
],
[
25.03775839656088,
121.43173724412918
],
[
25.037724374325006,
121.43189549446106
],
[
25.037598005937625,
121.4320456981659
],
[
25.036587054151983,
121.43244266510011
],
[
25.03657004287278,
121.4323917031288
],
[
25.036533590123653,
121.43235951662065
],
[
25.036497137363714,
121.43232733011246
],
[
25.036455824222678,
121.43230050802231
],
[
25.036399929950914,
121.43228173255922
],
[
25.03633431490372,
121.43228173255922
],
[
25.036229816793153,
121.43229514360428
],
[
25.035323352703386,
121.42969608306883
],
[
25.03603297127329,
121.42861247062682
],
[
25.03919218220892,
121.4309298992157
],
[
25.038604089106112,
121.43194109201431
]
],
type: 'polygon',
alpha:0.5,
fillColor: '#71F563',
id: 'Green'
},
{
coordinates: [
[
25.033199332864154,
121.4327323436737
],
[
25.033257658842768,
121.43384814262389
],
[
25.033612474615246,
121.4346420764923
],
[
25.033855498524844,
121.43433630466463
],
[
25.034181149808923,
121.43433630466463
],
[
25.03615448089076,
121.43613338470458
],
[
25.03649956754804,
121.43554866313934
],
[
25.035401119322277,
121.43304347991942
],
[
25.035721906104122,
121.43287986516951
],
[
25.03604755243376,
121.4327162504196
],
[
25.03604755243376,
121.43254995346068
],
[
25.03610587705822,
121.43238902091979
],
[
25.03620308470404,
121.43230855464934
],
[
25.03529419020858,
121.42971217632294
],
[
25.033199332864154,
121.4327323436737
]
],
type: 'polygon',
alpha: 0.5,
fillColor: '#C32C2C',
id: 'Red'
}

]

}
Expand Down

0 comments on commit 29642ad

Please sign in to comment.