├── .sourcemaps ├── main.css.map ├── 2.js.map ├── 3.js.map ├── 7.js.map ├── 4.js.map ├── 6.js.map ├── 1.js.map ├── 5.js.map ├── 8.js.map ├── main.js.map ├── 9.js.map └── 0.js.map ├── src ├── pages │ ├── film │ │ ├── film.scss │ │ ├── film.module.ts │ │ ├── film.html │ │ └── film.ts │ ├── maps │ │ ├── maps.scss │ │ ├── maps.module.ts │ │ ├── maps.html │ │ └── maps.ts │ ├── tabs │ │ ├── tabs.scss │ │ ├── tabs.html │ │ ├── tabs.module.ts │ │ └── tabs.ts │ ├── calls │ │ ├── calls.scss │ │ ├── calls.module.ts │ │ ├── calls.html │ │ └── calls.ts │ ├── stars │ │ ├── stars.scss │ │ ├── stars.module.ts │ │ ├── stars.html │ │ └── stars.ts │ ├── film-detail │ │ ├── film-detail.scss │ │ ├── film-detail.module.ts │ │ ├── film-detail.html │ │ └── film-detail.ts │ ├── gaodemap │ │ ├── gaodemap.scss │ │ ├── gaodemap.module.ts │ │ ├── gaodemap.html │ │ └── gaodemap.ts │ ├── googlemap │ │ ├── googlemap.scss │ │ ├── googlemap.module.ts │ │ ├── googlemap.html │ │ └── googlemap.ts │ ├── bookstore │ │ ├── bookstore.scss │ │ ├── bookstore.module.ts │ │ ├── bookstore.html │ │ └── bookstore.ts │ ├── baidumap │ │ ├── baidumap.scss │ │ ├── baidumap.module.ts │ │ ├── baidumap.html │ │ └── baidumap.ts │ ├── something │ │ └── calls.ts │ └── hello.html ├── app │ ├── app.html │ ├── main.ts │ ├── app.component.ts │ ├── app.scss │ └── app.module.ts ├── assets │ └── icon │ │ └── favicon.ico ├── manifest.json ├── providers │ └── api │ │ └── api.ts ├── service-worker.js ├── index.html └── theme │ └── variables.scss ├── resources ├── icon.png ├── splash.png ├── ios │ ├── icon │ │ ├── icon.png │ │ ├── icon-40.png │ │ ├── icon-50.png │ │ ├── icon-60.png │ │ ├── icon-72.png │ │ ├── icon-76.png │ │ ├── icon@2x.png │ │ ├── icon-40@2x.png │ │ ├── icon-40@3x.png │ │ ├── icon-50@2x.png │ │ ├── icon-60@2x.png │ │ ├── icon-60@3x.png │ │ ├── icon-72@2x.png │ │ ├── icon-76@2x.png │ │ ├── icon-small.png │ │ ├── icon-83.5@2x.png │ │ ├── icon-small@2x.png │ │ └── icon-small@3x.png │ └── splash │ │ ├── Default-667h.png │ │ ├── Default-736h.png │ │ ├── Default~iphone.png │ │ ├── Default@2x~iphone.png │ │ ├── Default-Portrait~ipad.png │ │ ├── Default-568h@2x~iphone.png │ │ ├── Default-Landscape-736h.png │ │ ├── Default-Landscape~ipad.png │ │ ├── Default-Portrait@2x~ipad.png │ │ ├── Default-Landscape@2x~ipad.png │ │ ├── Default-Landscape@~ipadpro.png │ │ └── Default-Portrait@~ipadpro.png └── android │ ├── icon │ ├── drawable-hdpi-icon.png │ ├── drawable-ldpi-icon.png │ ├── drawable-mdpi-icon.png │ ├── drawable-xhdpi-icon.png │ ├── drawable-xxhdpi-icon.png │ └── drawable-xxxhdpi-icon.png │ └── splash │ ├── drawable-land-hdpi-screen.png │ ├── drawable-land-ldpi-screen.png │ ├── drawable-land-mdpi-screen.png │ ├── drawable-port-hdpi-screen.png │ ├── drawable-port-ldpi-screen.png │ ├── drawable-port-mdpi-screen.png │ ├── drawable-land-xhdpi-screen.png │ ├── drawable-land-xxhdpi-screen.png │ ├── drawable-port-xhdpi-screen.png │ ├── drawable-port-xxhdpi-screen.png │ ├── drawable-land-xxxhdpi-screen.png │ └── drawable-port-xxxhdpi-screen.png ├── README.md ├── ionic.config.json ├── typings └── cordova-typings.d.ts ├── tslint.json ├── .editorconfig ├── .gitignore ├── tsconfig.json ├── package.json └── config.xml /.sourcemaps/main.css.map: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /src/pages/film/film.scss: -------------------------------------------------------------------------------- 1 | page-film { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/maps/maps.scss: -------------------------------------------------------------------------------- 1 | page-maps { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/tabs/tabs.scss: -------------------------------------------------------------------------------- 1 | page-tabs { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/app/app.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/pages/calls/calls.scss: -------------------------------------------------------------------------------- 1 | page-calls { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/stars/stars.scss: -------------------------------------------------------------------------------- 1 | page-stars { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/film-detail/film-detail.scss: -------------------------------------------------------------------------------- 1 | page-film-detail { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/icon.png -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/splash.png -------------------------------------------------------------------------------- /resources/ios/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon.png -------------------------------------------------------------------------------- /src/assets/icon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/src/assets/icon/favicon.ico -------------------------------------------------------------------------------- /resources/ios/icon/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-40.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-50.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-60.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-72.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-76.png -------------------------------------------------------------------------------- /resources/ios/icon/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon@2x.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### git clone 2 | ### cd 3 | ### npm install 4 | ### ionic cordova plugin add cordova-plugin-geolocation 5 | -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-40@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-40@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-50@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-60@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-60@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-72@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-76@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-small.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-83.5@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-small@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/icon/icon-small@3x.png -------------------------------------------------------------------------------- /src/pages/gaodemap/gaodemap.scss: -------------------------------------------------------------------------------- 1 | page-gaodemap { 2 | #map_container2{ 3 | width: 100%; 4 | height: 100%; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /resources/ios/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-667h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default~iphone.png -------------------------------------------------------------------------------- /src/pages/googlemap/googlemap.scss: -------------------------------------------------------------------------------- 1 | page-googlemap { 2 | #map_container1{ 3 | width: 100%; 4 | height: 100%; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-hdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/icon/drawable-hdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-ldpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/icon/drawable-ldpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-mdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/icon/drawable-mdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/icon/drawable-xhdpi-icon.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/icon/drawable-xxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/icon/drawable-xxxhdpi-icon.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Landscape@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/ios/splash/Default-Portrait@~ipadpro.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-land-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-land-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-land-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-port-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-port-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-port-mdpi-screen.png -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic-GoogleMap", 3 | "app_id": "", 4 | "type": "ionic-angular", 5 | "integrations": { 6 | "cordova": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-land-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-land-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-port-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-port-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-land-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JiaXinYi/Ionic-Maps/HEAD/resources/android/splash/drawable-port-xxxhdpi-screen.png -------------------------------------------------------------------------------- /typings/cordova-typings.d.ts: -------------------------------------------------------------------------------- 1 | 2 | /// 3 | /// -------------------------------------------------------------------------------- /src/pages/bookstore/bookstore.scss: -------------------------------------------------------------------------------- 1 | page-bookstore { 2 | #map_container3{ 3 | width: 100%; 4 | height: 80%; 5 | } 6 | #book_store{ 7 | width: 100%; 8 | height: 20%; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/app/main.ts: -------------------------------------------------------------------------------- 1 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 2 | 3 | import { AppModule } from './app.module'; 4 | 5 | platformBrowserDynamic().bootstrapModule(AppModule); 6 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "no-duplicate-variable": true, 4 | "no-unused-variable": [ 5 | true 6 | ] 7 | }, 8 | "rulesDirectory": [ 9 | "node_modules/tslint-eslint-rules/dist/rules" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/pages/baidumap/baidumap.scss: -------------------------------------------------------------------------------- 1 | page-baidumap { 2 | #map_container{ 3 | width: 100%; 4 | height: 80%; 5 | } 6 | #btn-location{ 7 | position: relative; 8 | top: 10px; 9 | left: 0; 10 | z-index: 999; 11 | } 12 | .btn_loaction{ 13 | padding-right:10px; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/pages/tabs/tabs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic", 3 | "short_name": "Ionic", 4 | "start_url": "index.html", 5 | "display": "standalone", 6 | "icons": [{ 7 | "src": "assets/imgs/logo.png", 8 | "sizes": "512x512", 9 | "type": "image/png" 10 | }], 11 | "background_color": "#4e8ef7", 12 | "theme_color": "#4e8ef7" 13 | } -------------------------------------------------------------------------------- /src/pages/tabs/tabs.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { TabsPage } from './tabs'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | TabsPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(TabsPage), 11 | ] 12 | }) 13 | export class TabsPageModule {} 14 | -------------------------------------------------------------------------------- /src/pages/film/film.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { FilmPage } from './film'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | FilmPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(FilmPage), 11 | ], 12 | exports:[FilmPage] 13 | }) 14 | export class FilmPageModule {} 15 | -------------------------------------------------------------------------------- /src/pages/maps/maps.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { MapsPage } from './maps'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | MapsPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(MapsPage), 11 | ], 12 | exports:[MapsPage] 13 | }) 14 | export class MapsPageModule {} 15 | -------------------------------------------------------------------------------- /src/pages/bookstore/bookstore.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { BookstorePage } from './bookstore'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | BookstorePage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(BookstorePage), 11 | ], 12 | }) 13 | export class BookstorePageModule {} 14 | -------------------------------------------------------------------------------- /src/pages/calls/calls.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { CallsPage } from './calls'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | CallsPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(CallsPage), 11 | ], 12 | exports:[CallsPage] 13 | }) 14 | export class CallsPageModule {} 15 | -------------------------------------------------------------------------------- /src/pages/stars/stars.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { StarsPage } from './stars'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | StarsPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(StarsPage), 11 | ], 12 | exports:[StarsPage] 13 | }) 14 | export class StarsPageModule {} 15 | -------------------------------------------------------------------------------- /src/pages/film-detail/film-detail.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { FilmDetailPage } from './film-detail'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | FilmDetailPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(FilmDetailPage), 11 | ], 12 | }) 13 | export class FilmDetailPageModule {} 14 | -------------------------------------------------------------------------------- /src/pages/stars/stars.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | stars 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/pages/baidumap/baidumap.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { BaiduMapPage } from './baidumap'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | BaiduMapPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(BaiduMapPage), 11 | ], 12 | exports:[BaiduMapPage] 13 | }) 14 | export class BaiduMapPageModule {} 15 | -------------------------------------------------------------------------------- /src/pages/gaodemap/gaodemap.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { GaodeMapPage } from './gaodemap'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | GaodeMapPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(GaodeMapPage), 11 | ], 12 | exports:[GaodeMapPage] 13 | }) 14 | export class GaodeMapPageModule {} 15 | -------------------------------------------------------------------------------- /src/pages/googlemap/googlemap.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { GoogleMapPage } from './googlemap' 4 | @NgModule({ 5 | declarations: [ 6 | GoogleMapPage, 7 | ], 8 | imports: [ 9 | IonicPageModule.forChild(GoogleMapPage), 10 | ], 11 | exports:[GoogleMapPage] 12 | }) 13 | export class GoogleMapPageModule {} 14 | -------------------------------------------------------------------------------- /src/pages/gaodemap/gaodemap.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 高德地图 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | -------------------------------------------------------------------------------- /src/pages/googlemap/googlemap.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 谷歌地图 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs 2 | # editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | indent_size = 2 9 | 10 | # We recommend you to keep these unchanged 11 | end_of_line = lf 12 | charset = utf-8 13 | trim_trailing_whitespace = true 14 | insert_final_newline = true 15 | 16 | [*.md] 17 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /src/pages/calls/calls.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | calls 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/pages/film-detail/film-detail.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | FilmDetail 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | {{film.opening_crawl}} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/pages/bookstore/bookstore.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | bookstore 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 20 |
21 |
22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | *~ 5 | *.sw[mnpcod] 6 | *.log 7 | *.tmp 8 | *.tmp.* 9 | log.txt 10 | *.sublime-project 11 | *.sublime-workspace 12 | .vscode/ 13 | npm-debug.log* 14 | 15 | .idea/ 16 | .sass-cache/ 17 | .tmp/ 18 | .versions/ 19 | coverage/ 20 | dist/ 21 | node_modules/ 22 | tmp/ 23 | temp/ 24 | hooks/ 25 | platforms/ 26 | plugins/ 27 | plugins/android.json 28 | plugins/ios.json 29 | www/ 30 | $RECYCLE.BIN/ 31 | 32 | .DS_Store 33 | Thumbs.db 34 | UserInterfaceState.xcuserstate 35 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowSyntheticDefaultImports": true, 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "dom", 9 | "es2015" 10 | ], 11 | "module": "es2015", 12 | "moduleResolution": "node", 13 | "sourceMap": true, 14 | "target": "es5" 15 | }, 16 | "include": [ 17 | "src/**/*.ts" 18 | ], 19 | "exclude": [ 20 | "node_modules" 21 | ], 22 | "compileOnSave": false, 23 | "atom": { 24 | "rewriteTsconfig": false 25 | } 26 | } -------------------------------------------------------------------------------- /src/pages/maps/maps.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | maps 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/pages/film/film.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | film 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/providers/api/api.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { Http } from '@angular/http'; 3 | import 'rxjs/add/operator/map'; 4 | 5 | /* 6 | Generated class for the ApiProvider provider. 7 | 8 | See https://angular.io/docs/ts/latest/guide/dependency-injection.html 9 | for more info on providers and Angular DI. 10 | */ 11 | @Injectable() 12 | export class ApiProvider { 13 | 14 | constructor(public http: Http) { 15 | console.log('Hello ApiProvider Provider'); 16 | } 17 | getFilms(){ 18 | return this.http.get('http://swapi.co/api/films').map(res => res.json()); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/pages/tabs/tabs.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { IonicPage, NavController } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the TabsPage tabs. 6 | * 7 | * See https://angular.io/docs/ts/latest/guide/dependency-injection.html for 8 | * more info on providers and Angular DI. 9 | */ 10 | 11 | @IonicPage() 12 | @Component({ 13 | selector: 'page-tabs', 14 | templateUrl: 'tabs.html' 15 | }) 16 | export class TabsPage { 17 | 18 | mapsRoot = 'MapsPage' 19 | callsRoot = 'CallsPage' 20 | starsRoot = 'StarsPage' 21 | 22 | 23 | constructor(public navCtrl: NavController) {} 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/pages/stars/stars.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the StarsPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | 11 | @IonicPage() 12 | @Component({ 13 | selector: 'page-stars', 14 | templateUrl: 'stars.html', 15 | }) 16 | export class StarsPage { 17 | 18 | constructor(public navCtrl: NavController, public navParams: NavParams) { 19 | } 20 | 21 | ionViewDidLoad() { 22 | console.log('ionViewDidLoad StarsPage'); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { Platform } from 'ionic-angular'; 3 | import { StatusBar } from '@ionic-native/status-bar'; 4 | import { SplashScreen } from '@ionic-native/splash-screen'; 5 | 6 | @Component({ 7 | templateUrl: 'app.html' 8 | }) 9 | export class MyApp { 10 | rootPage:any = 'TabsPage'; 11 | 12 | constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) { 13 | platform.ready().then(() => { 14 | // Okay, so the platform is ready and our plugins are available. 15 | // Here you can do any higher level native things you might need. 16 | statusBar.styleDefault(); 17 | splashScreen.hide(); 18 | }); 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /src/app/app.scss: -------------------------------------------------------------------------------- 1 | // http://ionicframework.com/docs/theming/ 2 | 3 | 4 | // App Global Sass 5 | // -------------------------------------------------- 6 | // Put style rules here that you want to apply globally. These 7 | // styles are for the entire app and not just one component. 8 | // Additionally, this file can be also used as an entry point 9 | // to import other Sass files to be included in the output CSS. 10 | // 11 | // Shared Sass variables, which can be used to adjust Ionic's 12 | // default Sass variables, belong in "theme/variables.scss". 13 | // 14 | // To declare rules for a specific mode, create a child rule 15 | // for the .md, .ios, or .wp mode classes. The mode class is 16 | // automatically applied to the element in the app. 17 | -------------------------------------------------------------------------------- /src/pages/film-detail/film-detail.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the FilmDetailPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | 11 | @IonicPage() 12 | @Component({ 13 | selector: 'page-film-detail', 14 | templateUrl: 'film-detail.html', 15 | }) 16 | export class FilmDetailPage { 17 | 18 | film:any; 19 | constructor(public navCtrl: NavController, public navParams: NavParams) { 20 | this.film = this.navParams.get('film'); 21 | } 22 | 23 | ionViewDidLoad() { 24 | console.log('ionViewDidLoad FilmDetailPage'); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/pages/calls/calls.ts: -------------------------------------------------------------------------------- 1 | import { Component,OnInit } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | import { Observable } from 'rxjs/Observable'; 4 | import 'rxjs/add/observable/of'; 5 | import 'rxjs/add/operator/delay'; 6 | 7 | /** 8 | * Generated class for the CallsPage page. 9 | * 10 | * See http://ionicframework.com/docs/components/#navigation for more info 11 | * on Ionic pages and navigation. 12 | */ 13 | 14 | @IonicPage() 15 | @Component({ 16 | selector: 'page-calls', 17 | templateUrl: 'calls.html' 18 | }) 19 | export class CallsPage { 20 | 21 | constructor(public navCtrl: NavController, public navParams: NavParams) { 22 | 23 | } 24 | 25 | ionViewDidLoad() { 26 | console.log('ionViewDidLoad CallsPage'); 27 | } 28 | showFilm(){ 29 | this.navCtrl.push('FilmPage'); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/service-worker.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Check out https://googlechrome.github.io/sw-toolbox/ for 3 | * more info on how to use sw-toolbox to custom configure your service worker. 4 | */ 5 | 6 | 7 | 'use strict'; 8 | importScripts('./build/sw-toolbox.js'); 9 | 10 | self.toolbox.options.cache = { 11 | name: 'ionic-cache' 12 | }; 13 | 14 | // pre-cache our key assets 15 | self.toolbox.precache( 16 | [ 17 | './build/main.js', 18 | './build/vendor.js', 19 | './build/main.css', 20 | './build/polyfills.js', 21 | 'index.html', 22 | 'manifest.json' 23 | ] 24 | ); 25 | 26 | // dynamically cache any other local assets 27 | self.toolbox.router.any('/*', self.toolbox.cacheFirst); 28 | 29 | // for any other requests go to the network, cache, 30 | // and then only use that cached resource if your user goes offline 31 | self.toolbox.router.default = self.toolbox.networkFirst; 32 | -------------------------------------------------------------------------------- /src/pages/maps/maps.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the MapsPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | 11 | @IonicPage() 12 | @Component({ 13 | selector: 'page-maps', 14 | templateUrl: 'maps.html', 15 | }) 16 | export class MapsPage { 17 | 18 | constructor(public navCtrl: NavController, public navParams: NavParams) { 19 | } 20 | 21 | ionViewDidLoad() { 22 | console.log('ionViewDidLoad MapsPage'); 23 | } 24 | 25 | 26 | loadGoogleMap() { 27 | this.navCtrl.push('GoogleMapPage'); 28 | } 29 | loadGaodeMap() { 30 | this.navCtrl.push('GaodeMapPage'); 31 | } 32 | loadBaiduMap() { 33 | this.navCtrl.push('BaiduMapPage'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/pages/baidumap/baidumap.html: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 百度地图 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { BrowserModule } from '@angular/platform-browser'; 2 | import { ErrorHandler, NgModule } from '@angular/core'; 3 | import { Geolocation } from '@ionic-native/geolocation'; 4 | import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; 5 | import { MyApp } from './app.component'; 6 | import { SplashScreen } from '@ionic-native/splash-screen'; 7 | import { StatusBar } from '@ionic-native/status-bar'; 8 | 9 | import { HttpModule } from '@angular/http' 10 | import { ApiProvider } from '../providers/api/api'; 11 | 12 | 13 | @NgModule({ 14 | declarations: [ 15 | MyApp, 16 | ], 17 | imports: [ 18 | BrowserModule, 19 | HttpModule, 20 | IonicModule.forRoot(MyApp) 21 | ], 22 | bootstrap: [IonicApp], 23 | entryComponents: [ 24 | MyApp, 25 | ], 26 | providers: [ 27 | StatusBar, 28 | SplashScreen, 29 | Geolocation, 30 | {provide: ErrorHandler, useClass: IonicErrorHandler}, 31 | ApiProvider 32 | ] 33 | }) 34 | export class AppModule {} 35 | -------------------------------------------------------------------------------- /src/pages/gaodemap/gaodemap.ts: -------------------------------------------------------------------------------- 1 | import { Component, ViewChild, ElementRef } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the MapPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | // baidu map 11 | // declare var BMap; 12 | 13 | // gaode map 14 | declare var AMap; 15 | 16 | //google map 17 | // declare var google; 18 | 19 | @IonicPage() 20 | @Component({ 21 | selector: 'page-gaodemap', 22 | templateUrl: 'gaodemap.html', 23 | }) 24 | export class GaodeMapPage { 25 | // gaodemap 26 | 27 | @ViewChild('map2') map_container2: ElementRef; 28 | map: any;//地图对象 29 | 30 | constructor() { 31 | } 32 | 33 | ionViewDidEnter() { 34 | this.load(); 35 | } 36 | load(){ 37 | this.map = new AMap.Map(this.map_container2.nativeElement, { 38 | view: new AMap.View2D({//创建地图二维视口 39 | center:[113.23,23.16], 40 | zoom: 16, //设置地图缩放级别 41 | rotateEnable: true, 42 | showBuildingBlock: true 43 | }) 44 | }); 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/pages/googlemap/googlemap.ts: -------------------------------------------------------------------------------- 1 | import { Component, ViewChild, ElementRef } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the MapPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | // baidu map 11 | // declare var BMap; 12 | 13 | // gaode map 14 | // declare var AMap; 15 | 16 | //google map 17 | declare var google; 18 | 19 | @IonicPage() 20 | @Component({ 21 | selector: 'page-googlemap', 22 | templateUrl: 'googlemap.html', 23 | }) 24 | export class GoogleMapPage { 25 | //googlemap 26 | @ViewChild('map1') mapElement: ElementRef; 27 | map: any; 28 | 29 | constructor(public navCtrl: NavController) { 30 | 31 | } 32 | 33 | ionViewDidLoad() { 34 | this.loadMap(); 35 | } 36 | 37 | loadMap() { 38 | 39 | let latLng = new google.maps.LatLng( 23.16,113.23); 40 | 41 | let mapOptions = { 42 | center: latLng, 43 | zoom: 16, 44 | mapTypeId: google.maps.MapTypeId.ROADMAP 45 | } 46 | 47 | this.map = new google.maps.Map(this.mapElement.nativeElement, mapOptions); 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/pages/film/film.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | import { ApiProvider } from './../../providers/api/api'; 5 | import { Observable } from 'rxjs/Observable'; 6 | import { Http } from '@angular/http'; 7 | import 'rxjs/add/operator/map'; 8 | /** 9 | * Generated class for the FilmPage page. 10 | * 11 | * See http://ionicframework.com/docs/components/#navigation for more info 12 | * on Ionic pages and navigation. 13 | */ 14 | 15 | @IonicPage() 16 | @Component({ 17 | selector: 'page-film', 18 | templateUrl: 'film.html', 19 | }) 20 | export class FilmPage { 21 | films: Observable; 22 | 23 | constructor(public navCtrl: NavController,public apiProvider: ApiProvider 24 | // public http: Http 25 | ) { 26 | this.films = this.apiProvider.getFilms(); 27 | // this.films = this.http.get('http://swapi.co/api/films').map(res => res.json()); 28 | // 输出到控制台 29 | // this.films = this.http.get('http://swapi.co/api/films'); 30 | // this.films 31 | // .map(res => res.json()) 32 | // .subscribe(data => { 33 | // console.log('my data: ', data); 34 | // }) 35 | } 36 | openDetails(film){ 37 | this.navCtrl.push('FilmDetailPage',{film:film}); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic-GoogleMap", 3 | "version": "0.0.1", 4 | "author": "Ionic Framework", 5 | "homepage": "http://ionicframework.com/", 6 | "private": true, 7 | "scripts": { 8 | "clean": "ionic-app-scripts clean", 9 | "build": "ionic-app-scripts build", 10 | "lint": "ionic-app-scripts lint", 11 | "ionic:build": "ionic-app-scripts build", 12 | "ionic:serve": "ionic-app-scripts serve" 13 | }, 14 | "dependencies": { 15 | "@angular/common": "4.1.3", 16 | "@angular/compiler": "4.1.3", 17 | "@angular/compiler-cli": "4.1.3", 18 | "@angular/core": "4.1.3", 19 | "@angular/forms": "4.1.3", 20 | "@angular/http": "4.1.3", 21 | "@angular/platform-browser": "4.1.3", 22 | "@angular/platform-browser-dynamic": "4.1.3", 23 | "@ionic-native/core": "3.12.1", 24 | "@ionic-native/geolocation": "^4.2.1", 25 | "@ionic-native/splash-screen": "3.12.1", 26 | "@ionic-native/status-bar": "3.12.1", 27 | "@ionic/storage": "2.0.1", 28 | "ionic-angular": "3.6.0", 29 | "ionicons": "3.0.0", 30 | "rxjs": "5.4.0", 31 | "sw-toolbox": "3.6.0", 32 | "zone.js": "0.8.12" 33 | }, 34 | "devDependencies": { 35 | "@ionic/app-scripts": "2.1.4", 36 | "typescript": "2.3.4" 37 | }, 38 | "description": "An Ionic project" 39 | } 40 | -------------------------------------------------------------------------------- /.sourcemaps/2.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/tabs/tabs.module.ts","../../src/pages/tabs/tabs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACd;AAUlC,IAAa,cAAc;IAA3B;IAA6B,CAAC;IAAD,qBAAC;AAAD,CAAC;AAAjB,cAAc;IAR1B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,uDAAQ;SACT;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,uDAAQ,CAAC;SACnC;KACF,CAAC;GACW,cAAc,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACZe;AACe;AAEzD;;;;;GAKG;AAOH,IAAa,QAAQ;IAOnB,kBAAmB,OAAsB;QAAtB,YAAO,GAAP,OAAO,CAAe;QALzC,aAAQ,GAAG,UAAU;QACrB,cAAS,GAAG,WAAW;QACvB,cAAS,GAAG,WAAW;IAGqB,CAAC;IAE/C,eAAC;AAAD,CAAC;AATY,QAAQ;IALpB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,WAAW;OACG;KACzB,CAAC;aAQyC;AAE1C;SATY,QAAQ,e","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TabsPage } from './tabs';\n\n@NgModule({\n declarations: [\n TabsPage,\n ],\n imports: [\n IonicPageModule.forChild(TabsPage),\n ]\n})\nexport class TabsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/tabs.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController } from 'ionic-angular';\n\n/**\n * Generated class for the TabsPage tabs.\n *\n * See https://angular.io/docs/ts/latest/guide/dependency-injection.html for\n * more info on providers and Angular DI.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-tabs',\n templateUrl: 'tabs.html'\n})\nexport class TabsPage {\n\n mapsRoot = 'MapsPage'\n callsRoot = 'CallsPage'\n starsRoot = 'StarsPage'\n\n\n constructor(public navCtrl: NavController) {}\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/tabs.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/3.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/stars/stars.module.ts","../../src/pages/stars/stars.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAWpC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAlB,eAAe;IAT3B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,yDAAS;SACV;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,yDAAS,CAAC;SACpC;QACD,OAAO,EAAC,CAAC,yDAAS,CAAC;KACpB,CAAC;GACW,eAAe,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbc;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,SAAS;IAEpB,mBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,kCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IAC1C,CAAC;IAEH,gBAAC;AAAD,CAAC;AATY,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cAGsE;AAOvE;SATY,SAAS,e","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { StarsPage } from './stars';\n\n@NgModule({\n declarations: [\n StarsPage,\n ],\n imports: [\n IonicPageModule.forChild(StarsPage),\n ],\n exports:[StarsPage]\n})\nexport class StarsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/stars/stars.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the StarsPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-stars',\n templateUrl: 'stars.html',\n})\nexport class StarsPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad StarsPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/stars/stars.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/7.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/film-detail/film-detail.module.ts","../../src/pages/film-detail/film-detail.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACD;AAU/C,IAAa,oBAAoB;IAAjC;IAAmC,CAAC;IAAD,2BAAC;AAAD,CAAC;AAAvB,oBAAoB;IARhC,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,oEAAc;SACf;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,oEAAc,CAAC;SACzC;KACF,CAAC;GACW,oBAAoB,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACZS;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,cAAc;IAEzB,wBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,uCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;IAC/C,CAAC;IAEH,qBAAC;AAAD,CAAC;AATY,cAAc;IAL1B,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,kBAAkB;OACG;KAChC,CAAC;mBAGsE;AAOvE;SATY,cAAc,gB","file":"7.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { FilmDetailPage } from './film-detail';\n\n@NgModule({\n declarations: [\n FilmDetailPage,\n ],\n imports: [\n IonicPageModule.forChild(FilmDetailPage),\n ],\n})\nexport class FilmDetailPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/film-detail/film-detail.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the FilmDetailPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-film-detail',\n templateUrl: 'film-detail.html',\n})\nexport class FilmDetailPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FilmDetailPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/film-detail/film-detail.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /src/pages/something/calls.ts: -------------------------------------------------------------------------------- 1 | // import { Component, OnInit } from '@angular/core'; 2 | // import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | // import { Observable } from 'rxjs/Observable'; 4 | // import 'rxjs/add/observable/of'; 5 | // import 'rxjs/add/operator/delay'; 6 | 7 | // /** 8 | // * Generated class for the CallsPage page. 9 | // * 10 | // * See http://ionicframework.com/docs/components/#navigation for more info 11 | // * on Ionic pages and navigation. 12 | // */ 13 | 14 | // @IonicPage() 15 | // @Component({ 16 | // selector: 'page-calls', 17 | // template: ` 18 | //
    19 | //
  • {{item.id}}
  • 20 | //
21 | // 22 | // 23 | //

Fetching...

24 | //
25 | //

26 | // {{user.username }} 27 | //

28 | //

{{address | json}}

29 | // ` 30 | // }) 31 | // export class CallsPage1 { 32 | // auth: Observable<{}>; 33 | // address = { 34 | // province: '福建', 35 | // city: '厦门' 36 | // } 37 | 38 | // collection: any; 39 | 40 | // constructor(public navCtrl: NavController, public navParams: NavParams) { 41 | // this.collection = [{ id: 1 }, { id: 2 }, { id: 3 }]; 42 | 43 | // } 44 | 45 | // ionViewDidLoad() { 46 | // console.log('ionViewDidLoad CallsPage'); 47 | // } 48 | // ngOnInit() { 49 | // this.auth = Observable 50 | // .of({ username: 'semlinker', password: 'segmentfault' }) 51 | // .delay(new Date(Date.now() + 2000)); 52 | // } 53 | // getItems() { 54 | // this.collection = this.getItemsFromServer(); 55 | // } 56 | 57 | // getItemsFromServer() { 58 | // return [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }]; 59 | // } 60 | 61 | // trackByFn(index, item) { 62 | // return index; // or item.id 63 | // } 64 | // } 65 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Ionic App 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /.sourcemaps/4.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/maps/maps.module.ts","../../src/pages/maps/maps.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACd;AAWlC,IAAa,cAAc;IAA3B;IAA6B,CAAC;IAAD,qBAAC;AAAD,CAAC;AAAjB,cAAc;IAT1B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,uDAAQ;SACT;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,uDAAQ,CAAC;SACnC;QACD,OAAO,EAAC,CAAC,uDAAQ,CAAC;KACnB,CAAC;GACW,cAAc,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbe;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,QAAQ;IAEnB,kBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,iCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IACzC,CAAC;IAGD,gCAAa,GAAb;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IACrC,CAAC;IACD,+BAAY,GAAZ;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IACD,+BAAY,GAAZ;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IACH,eAAC;AAAD,CAAC;AAnBY,QAAQ;IALpB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,WAAW;OACG;KACzB,CAAC;aAGsE;AAiBvE;SAnBY,QAAQ,e","file":"4.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { MapsPage } from './maps';\n\n@NgModule({\n declarations: [\n MapsPage,\n ],\n imports: [\n IonicPageModule.forChild(MapsPage),\n ],\n exports:[MapsPage]\n})\nexport class MapsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/maps/maps.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the MapsPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-maps',\n templateUrl: 'maps.html',\n})\nexport class MapsPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapsPage');\n }\n\n\n loadGoogleMap() {\n this.navCtrl.push('GoogleMapPage');\n }\n loadGaodeMap() {\n this.navCtrl.push('GaodeMapPage');\n }\n loadBaiduMap() {\n this.navCtrl.push('BaiduMapPage');\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/maps/maps.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /src/pages/bookstore/bookstore.ts: -------------------------------------------------------------------------------- 1 | import { Component, ViewChild, ElementRef } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | 4 | /** 5 | * Generated class for the BookstorePage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | declare var BMap; 11 | 12 | @IonicPage() 13 | @Component({ 14 | selector: 'page-bookstore', 15 | templateUrl: 'bookstore.html', 16 | }) 17 | export class BookstorePage { 18 | @ViewChild('map') map_container3: ElementRef; 19 | map: any; 20 | myIcon: any; 21 | 22 | constructor() { 23 | this.myIcon = new BMap.Icon("assets/icon/favicon.ico", new BMap.Size(30, 30)); 24 | } 25 | 26 | ionViewDidLoad() { 27 | let map = 28 | this.map = 29 | new BMap.Map( 30 | this.map_container3.nativeElement, 31 | { 32 | enableMapClick: false,//底图可点模式 33 | } 34 | );//创建地图实例 35 | map.enableScrollWheelZoom(); 36 | let point = new BMap.Point(113.38028471135, 23.129702256122);//坐标可以通过百度地图坐标拾取器获取 37 | let marker = new BMap.Marker(point); 38 | this.map.addOverlay(marker); 39 | map.centerAndZoom(point, 18);//设置中心和地图显示级别 40 | 41 | var local = new BMap.LocalSearch(map, { 42 | renderOptions: { 43 | map: map, 44 | selectFirstResult: true, 45 | autoViewport: true 46 | }, 47 | onMarkersSet: ((res) => { 48 | res.forEach(function (e, i) { 49 | let myIcon = new BMap.Icon("assets/icon/favicon.ico", new BMap.Size(30, 30)); 50 | 51 | let marker = new BMap.Marker(e.point, myIcon); 52 | marker.addEventListener("click", function () { 53 | console.log(e.address); 54 | }); 55 | }) 56 | }) 57 | }); 58 | var index = 0; 59 | var adds = [ 60 | "博尔赫斯书店", 61 | "方所书店", 62 | "联合书店", 63 | "唐宁书店", 64 | "1200bookshop", 65 | "学而优", 66 | "小古堂书店", 67 | "BensHoP书店", 68 | "以撒书房", 69 | "禾田书房" 70 | ]; 71 | // local.search("1200bookshop", { forceLocal: true }); 72 | local.search("1200bookshop", { forceLocal: true }); 73 | let searchArr = local.getResults(); 74 | 75 | 76 | } 77 | } -------------------------------------------------------------------------------- /.sourcemaps/6.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/gaodemap/gaodemap.module.ts","../../src/pages/gaodemap/gaodemap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACN;AAW1C,IAAa,kBAAkB;IAA/B;IAAiC,CAAC;IAAD,yBAAC;AAAD,CAAC;AAArB,kBAAkB;IAT9B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,+DAAY;SACb;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,+DAAY,CAAC;SACvC;QACD,OAAO,EAAC,CAAC,+DAAY,CAAC;KACvB,CAAC;GACW,kBAAkB,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbkC;AACG;AAcpE,YAAY;AACZ,sBAAsB;AAOtB,IAAa,YAAY;IAMvB;IACA,CAAC;IAED,sCAAe,GAAf;QACE,IAAI,CAAC,IAAI,EAAE,CAAC;IACd,CAAC;IACD,2BAAI,GAAJ;QACE,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE;YACzD,IAAI,EAAE,IAAI,IAAI,CAAC,MAAM,CAAC;gBACpB,MAAM,EAAC,CAAC,MAAM,EAAC,KAAK,CAAC;gBACrB,IAAI,EAAE,EAAE;gBACR,YAAY,EAAE,IAAI;gBAClB,iBAAiB,EAAE,IAAI;aACxB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAEH,mBAAC;AAAD,CAAC;AApBoB;IAAlB,0EAAS,CAAC,MAAM,CAAC;8BAAiB,iEAAU;oDAAC;AAHnC,YAAY;IALxB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,eAAe;OACG;KAC7B,CAAC;;AAwBD;SAvBY,YAAY,e","file":"6.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { GaodeMapPage } from './gaodemap';\n\n@NgModule({\n declarations: [\n GaodeMapPage,\n ],\n imports: [\n IonicPageModule.forChild(GaodeMapPage),\n ],\n exports:[GaodeMapPage]\n})\nexport class GaodeMapPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/gaodemap/gaodemap.module.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the MapPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n// baidu map\n// declare var BMap;\n\n// gaode map\ndeclare var AMap;\n\n//google map\n// declare var google;\n\n@IonicPage()\n@Component({\n selector: 'page-gaodemap',\n templateUrl: 'gaodemap.html',\n})\nexport class GaodeMapPage {\n // gaodemap\n\n @ViewChild('map2') map_container2: ElementRef;\n map: any;//地图对象\n\n constructor() {\n }\n\n ionViewDidEnter() {\n this.load();\n }\n load(){\n this.map = new AMap.Map(this.map_container2.nativeElement, {\n view: new AMap.View2D({//创建地图二维视口\n center:[113.23,23.16],\n zoom: 16, //设置地图缩放级别\n rotateEnable: true,\n showBuildingBlock: true\n })\n });\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/gaodemap/gaodemap.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/1.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/film/film.module.ts","../../src/pages/film/film.ts","../../node_modules/rxjs/add/operator/map.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACd;AAWlC,IAAa,cAAc;IAA3B;IAA6B,CAAC;IAAD,qBAAC;AAAD,CAAC;AAAjB,cAAc;IAT1B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,uDAAQ;SACT;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,uDAAQ,CAAC;SACnC;QACD,OAAO,EAAC,CAAC,uDAAQ,CAAC;KACnB,CAAC;GACW,cAAc,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;;;;ACbe;AAC0B;AAE/B;AACN;AAC/B;;;;;GAKG;AAOH,IAAa,QAAQ;IAGlB,kBAAmB,OAAsB,EAAS,IAAU;QAAzC,YAAO,GAAP,OAAO,CAAe;QAAS,SAAI,GAAJ,IAAI,CAAM;QAC1D,IAAI,CAAC,KAAK,GAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC,GAAG,CAAC,aAAG,IAAE,UAAG,CAAC,IAAI,EAAE,EAAV,CAAU,CAAC,CAAC;IAC7E,CAAC;IACD,8BAAW,GAAX,UAAY,IAAI;QACd,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAC,EAAC,IAAI,EAAC,IAAI,EAAC,CAAC,CAAC;IAClD,CAAC;IACJ,eAAC;AAAD,CAAC;AATY,QAAQ;IALpB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,WAAW;OACG;KACzB,CAAC;aAI6D;AAM9D;SATY,QAAQ,e;;;;;;;;ACjBrB;AACA;AACA;AACA;AACA,+B","file":"1.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { FilmPage } from './film';\n\n@NgModule({\n declarations: [\n FilmPage,\n ],\n imports: [\n IonicPageModule.forChild(FilmPage),\n ],\n exports:[FilmPage]\n})\nexport class FilmPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/film/film.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { Observable } from 'rxjs/Observable';\nimport { Http } from '@angular/http';\nimport 'rxjs/add/operator/map';\n/**\n * Generated class for the FilmPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-film',\n templateUrl: 'film.html',\n})\nexport class FilmPage {\n films: Observable;\n \n constructor(public navCtrl: NavController, public http: Http) { \n this.films=this.http.get('http://swapi.co/api/films').map(res=>res.json());\n }\n openDetails(film){\n this.navCtrl.push('FilmDetailPage',{film:film});\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/film/film.ts","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar map_1 = require('../../operator/map');\nObservable_1.Observable.prototype.map = map_1.map;\n//# sourceMappingURL=map.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/add/operator/map.js\n// module id = 287\n// module chunks = 1"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/5.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/googlemap/googlemap.module.ts","../../src/pages/googlemap/googlemap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACL;AAU3C,IAAa,mBAAmB;IAAhC;IAAkC,CAAC;IAAD,0BAAC;AAAD,CAAC;AAAtB,mBAAmB;IAT/B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,iEAAa;SACd;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,iEAAa,CAAC;SACxC;QACD,OAAO,EAAC,CAAC,iEAAa,CAAC;KACxB,CAAC;GACW,mBAAmB,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACZiC;AACG;AAsBpE,IAAa,aAAa;IAKxB,uBAAmB,OAAsB;QAAtB,YAAO,GAAP,OAAO,CAAe;IAEzC,CAAC;IAED,sCAAc,GAAd;QACE,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;IAED,+BAAO,GAAP;QAEE,IAAI,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAE,KAAK,EAAC,MAAM,CAAC,CAAC;QAEnD,IAAI,UAAU,GAAG;YACf,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,EAAE;YACR,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO;SACzC;QAED,IAAI,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;IAE5E,CAAC;IACH,oBAAC;AAAD,CAAC;AAxBoB;IAAlB,0EAAS,CAAC,MAAM,CAAC;8BAAa,iEAAU;iDAAC;AAF/B,aAAa;IALzB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,gBAAgB;OACG;KAC9B,CAAC;kBAMyC;AAqB1C;SA1BY,aAAa,e","file":"5.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { GoogleMapPage } from './googlemap'\n@NgModule({\n declarations: [\n GoogleMapPage,\n ],\n imports: [\n IonicPageModule.forChild(GoogleMapPage),\n ],\n exports:[GoogleMapPage]\n})\nexport class GoogleMapPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googlemap/googlemap.module.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the MapPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n// baidu map\n// declare var BMap;\n\n// gaode map\n// declare var AMap;\n\n//google map\ndeclare var google;\n\n@IonicPage()\n@Component({\n selector: 'page-googlemap',\n templateUrl: 'googlemap.html',\n})\nexport class GoogleMapPage {\n //googlemap\n @ViewChild('map1') mapElement: ElementRef;\n map: any;\n\n constructor(public navCtrl: NavController) {\n\n }\n\n ionViewDidLoad() {\n this.loadMap();\n }\n\n loadMap() {\n\n let latLng = new google.maps.LatLng( 23.16,113.23);\n\n let mapOptions = {\n center: latLng,\n zoom: 16,\n mapTypeId: google.maps.MapTypeId.ROADMAP\n }\n\n this.map = new google.maps.Map(this.mapElement.nativeElement, mapOptions);\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googlemap/googlemap.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /src/theme/variables.scss: -------------------------------------------------------------------------------- 1 | // Ionic Variables and Theming. For more info, please see: 2 | // http://ionicframework.com/docs/theming/ 3 | 4 | // Font path is used to include ionicons, 5 | // roboto, and noto sans fonts 6 | $font-path: "../assets/fonts"; 7 | 8 | 9 | // The app direction is used to include 10 | // rtl styles in your app. For more info, please see: 11 | // http://ionicframework.com/docs/theming/rtl-support/ 12 | $app-direction: ltr; 13 | 14 | 15 | @import "ionic.globals"; 16 | 17 | 18 | // Shared Variables 19 | // -------------------------------------------------- 20 | // To customize the look and feel of this app, you can override 21 | // the Sass variables found in Ionic's source scss files. 22 | // To view all the possible Ionic variables, see: 23 | // http://ionicframework.com/docs/theming/overriding-ionic-variables/ 24 | 25 | 26 | 27 | 28 | // Named Color Variables 29 | // -------------------------------------------------- 30 | // Named colors makes it easy to reuse colors on various components. 31 | // It's highly recommended to change the default colors 32 | // to match your app's branding. Ionic uses a Sass map of 33 | // colors so you can add, rename and remove colors as needed. 34 | // The "primary" color is the only required color in the map. 35 | 36 | $colors: ( 37 | primary: #488aff, 38 | secondary: #32db64, 39 | danger: #f53d3d, 40 | light: #f4f4f4, 41 | dark: #222 42 | ); 43 | 44 | 45 | // App iOS Variables 46 | // -------------------------------------------------- 47 | // iOS only Sass variables can go here 48 | 49 | 50 | 51 | 52 | // App Material Design Variables 53 | // -------------------------------------------------- 54 | // Material Design only Sass variables can go here 55 | 56 | 57 | 58 | 59 | // App Windows Variables 60 | // -------------------------------------------------- 61 | // Windows only Sass variables can go here 62 | 63 | 64 | 65 | 66 | // App Theme 67 | // -------------------------------------------------- 68 | // Ionic apps can have different themes applied, which can 69 | // then be future customized. This import comes last 70 | // so that the above variables are used and Ionic's 71 | // default are overridden. 72 | 73 | @import "ionic.theme.default"; 74 | 75 | 76 | // Ionicons 77 | // -------------------------------------------------- 78 | // The premium icon font for Ionic. For more info, please see: 79 | // http://ionicframework.com/docs/ionicons/ 80 | 81 | @import "ionic.ionicons"; 82 | 83 | 84 | // Fonts 85 | // -------------------------------------------------- 86 | 87 | @import "roboto"; 88 | @import "noto-sans"; 89 | -------------------------------------------------------------------------------- /src/pages/baidumap/baidumap.ts: -------------------------------------------------------------------------------- 1 | import { Component, ViewChild, ElementRef } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | import { Geolocation } from '@ionic-native/geolocation'; 4 | /** 5 | * Generated class for the MapPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | // baidu map 11 | declare var BMap; 12 | declare var BMAP_STATUS_SUCCESS; 13 | 14 | @IonicPage() 15 | @Component({ 16 | selector: 'page-baidumap', 17 | templateUrl: 'baidumap.html', 18 | }) 19 | export class BaiduMapPage { 20 | 21 | @ViewChild('map') map_container: ElementRef; 22 | map: any;//地图对象 23 | marker: any;//标记 24 | geolocation1: any; 25 | myIcon: any; 26 | 27 | constructor(private geolocation: Geolocation) { 28 | this.myIcon = new BMap.Icon("assets/icon/favicon.ico", new BMap.Size(30, 30)); 29 | } 30 | 31 | ionViewDidEnter() { 32 | let map = 33 | this.map = 34 | new BMap.Map( 35 | this.map_container.nativeElement, 36 | { 37 | enableMapClick: true,//点击拖拽 38 | enableScrollWheelZoom: true,//启动滚轮放大缩小,默认禁用 39 | enableContinuousZoom: true //连续缩放效果,默认禁用 40 | } 41 | );//创建地图实例 42 | 43 | // map.centerAndZoom("广州",17); //设置城市设置中心和地图显示级别 44 | // map.addControl(new BMap.MapTypeControl());//地图类型切换 45 | // map.setCurrentCity("广州"); //设置当前城市 46 | 47 | let point = new BMap.Point(113.38028471135, 23.129702256122);//坐标可以通过百度地图坐标拾取器获取 48 | let marker = new BMap.Marker(point); 49 | this.map.addOverlay(marker); 50 | map.centerAndZoom(point, 18);//设置中心和地图显示级别 51 | 52 | // let sizeMap = new BMap.Size(10, 80);//显示位置 53 | // map.addControl(new BMap.NavigationControl()); 54 | 55 | // let myIcon = new BMap.Icon("assets/icon/favicon.ico", new BMap.Size(300, 157)); 56 | // let marker = this.marker = new BMap.Marker(point, { icon: myIcon }); 57 | // map.addOverlay(marker); 58 | } 59 | 60 | getLocationByBrowser() { 61 | let geolocation1 = this.geolocation1 = new BMap.Geolocation(); 62 | geolocation1.getCurrentPosition((r) => { 63 | let mk = this.marker = new BMap.Marker(r.point, { icon: this.myIcon }); 64 | if (geolocation1.getStatus() == BMAP_STATUS_SUCCESS) { 65 | this.map.addOverlay(mk); 66 | this.map.panTo(r.point, 16); 67 | console.log('浏览器定位:您的位置是 ' + r.point.lng + ',' + r.point.lat); 68 | } 69 | else { 70 | alert('failed' + this.geolocation1.getStatus()); 71 | } 72 | }, { enableHighAccuracy: false }) 73 | } 74 | 75 | getLocationByIp() { 76 | let myCity = new BMap.LocalCity(); 77 | myCity.get(result => { 78 | let cityName = result.name; 79 | this.map.setCenter(cityName); 80 | console.log("当前定位城市:" + cityName); 81 | }); 82 | } 83 | getLocationByCity() { 84 | let city = "广州"; 85 | if (city != "") { 86 | this.map.centerAndZoom(city, 16); // 用城市名设置地图中心点 87 | } 88 | } 89 | getLocationByLatLon() { 90 | let point = new BMap.Point(113.38028471135, 23.129702256122); 91 | let marker = this.marker = new BMap.Marker(point, { icon: this.myIcon }); 92 | this.map.addOverlay(marker); 93 | this.map.centerAndZoom(point, 16); 94 | } 95 | getLocation() { 96 | this.geolocation.getCurrentPosition().then((resp) => { 97 | let locationPoint = new BMap.Point(resp.coords.longitude, resp.coords.latitude); 98 | let convertor = new BMap.Convertor(); 99 | let pointArr = []; 100 | pointArr.push(locationPoint); 101 | convertor.translate(pointArr, 1, 5, (data) => { 102 | if (data.status === 0) { 103 | let marker = this.marker = new BMap.Marker(data.points[0], { icon: this.myIcon }); 104 | this.map.panTo(data.points[0]); 105 | marker.setPosition(data.points[0]); 106 | this.map.addOverlay(marker); 107 | } 108 | }) 109 | console.log('GPS定位:您的位置是 ' + resp.coords.longitude + ',' + resp.coords.latitude); 110 | }) 111 | } 112 | 113 | } 114 | -------------------------------------------------------------------------------- /.sourcemaps/8.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/bookstore/bookstore.module.ts","../../src/pages/bookstore/bookstore.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACJ;AAU5C,IAAa,mBAAmB;IAAhC;IAAkC,CAAC;IAAD,0BAAC;AAAD,CAAC;AAAtB,mBAAmB;IAR/B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,iEAAa;SACd;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,iEAAa,CAAC;SACxC;KACF,CAAC;GACW,mBAAmB,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACZiC;AACG;AAepE,IAAa,aAAa;IAKxB;QACE,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAChF,CAAC;IAED,sCAAc,GAAd;QACE,IAAI,GAAG,GACL,IAAI,CAAC,GAAG;YACR,IAAI,IAAI,CAAC,GAAG,CACV,IAAI,CAAC,cAAc,CAAC,aAAa,EACjC;gBACE,cAAc,EAAE,KAAK;aACtB,CACF,CAAC,SAAQ;QACZ,GAAG,CAAC,qBAAqB,EAAE,CAAC;QAC5B,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC,oBAAmB;QAChF,IAAI,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACpC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAC5B,GAAG,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,cAAa;QAE1C,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE;YACpC,aAAa,EAAE;gBACb,GAAG,EAAE,GAAG;gBACR,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI;aACnB;YACD,YAAY,EAAE,CAAC,UAAC,GAAG;gBACjB,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;oBACxB,IAAI,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;oBAE7E,IAAI,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;oBAC9C,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE;wBAC/B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;oBACzB,CAAC,CAAC,CAAC;gBACL,CAAC,CAAC;YACJ,CAAC,CAAC;SACH,CAAC,CAAC;QACH,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,IAAI,GAAG;YACT,QAAQ;YACR,MAAM;YACN,MAAM;YACN,MAAM;YACN,cAAc;YACd,KAAK;YACL,OAAO;YACP,WAAW;YACX,MAAM;YACN,MAAM;SACP,CAAC;QACF,sDAAsD;QACtD,KAAK,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;QACnD,IAAI,SAAS,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC;IAGrC,CAAC;IACH,oBAAC;AAAD,CAAC;AA3DmB;IAAjB,0EAAS,CAAC,KAAK,CAAC;8BAAiB,iEAAU;qDAAC;AADlC,aAAa;IALzB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,gBAAgB;OACG;KAC9B,CAAC;;AA6DD;SA5DY,aAAa,e","file":"8.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { BookstorePage } from './bookstore';\n\n@NgModule({\n declarations: [\n BookstorePage,\n ],\n imports: [\n IonicPageModule.forChild(BookstorePage),\n ],\n})\nexport class BookstorePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/bookstore/bookstore.module.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the BookstorePage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\ndeclare var BMap;\n\n@IonicPage()\n@Component({\n selector: 'page-bookstore',\n templateUrl: 'bookstore.html',\n})\nexport class BookstorePage {\n @ViewChild('map') map_container3: ElementRef;\n map: any;\n myIcon: any;\n\n constructor() {\n this.myIcon = new BMap.Icon(\"assets/icon/favicon.ico\", new BMap.Size(30, 30));\n }\n\n ionViewDidLoad() {\n let map =\n this.map =\n new BMap.Map(\n this.map_container3.nativeElement,\n {\n enableMapClick: false,//底图可点模式\n }\n );//创建地图实例\n map.enableScrollWheelZoom();\n let point = new BMap.Point(113.38028471135, 23.129702256122);//坐标可以通过百度地图坐标拾取器获取\n let marker = new BMap.Marker(point);\n this.map.addOverlay(marker);\n map.centerAndZoom(point, 18);//设置中心和地图显示级别\n\n var local = new BMap.LocalSearch(map, {\n renderOptions: {\n map: map,\n selectFirstResult: true,\n autoViewport: true\n },\n onMarkersSet: ((res) => {\n res.forEach(function (e, i) {\n let myIcon = new BMap.Icon(\"assets/icon/favicon.ico\", new BMap.Size(30, 30));\n\n let marker = new BMap.Marker(e.point, myIcon);\n marker.addEventListener(\"click\", function () {\n console.log(e.address);\n });\n })\n })\n });\n var index = 0;\n var adds = [\n \"博尔赫斯书店\",\n \"方所书店\",\n \"联合书店\",\n \"唐宁书店\",\n \"1200bookshop\",\n \"学而优\",\n \"小古堂书店\",\n \"BensHoP书店\",\n \"以撒书房\",\n \"禾田书房\"\n ];\n // local.search(\"1200bookshop\", { forceLocal: true });\n local.search(\"1200bookshop\", { forceLocal: true });\n let searchArr = local.getResults();\n\n\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/bookstore/bookstore.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | baidu 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /src/pages/hello.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 75 | 76 | 77 | 本地搜索的数据接口 78 | 79 | 80 |
81 |
82 |
83 | 93 |
94 | 109 |
110 |
111 |
112 |
113 | 114 | 115 | -------------------------------------------------------------------------------- /.sourcemaps/main.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../node_modules/@angular/core/@angular lazy","../../src lazy","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts"],"names":[],"mappings":"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","file":"main.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 107;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/@angular lazy\n// module id = 107\n// module chunks = 10","var map = {\n\t\"../pages/baidumap/baidumap.module\": [\n\t\t262,\n\t\t9\n\t],\n\t\"../pages/bookstore/bookstore.module\": [\n\t\t263,\n\t\t8\n\t],\n\t\"../pages/calls/calls.module\": [\n\t\t264,\n\t\t0\n\t],\n\t\"../pages/film-detail/film-detail.module\": [\n\t\t266,\n\t\t7\n\t],\n\t\"../pages/film/film.module\": [\n\t\t265,\n\t\t1\n\t],\n\t\"../pages/gaodemap/gaodemap.module\": [\n\t\t267,\n\t\t6\n\t],\n\t\"../pages/googlemap/googlemap.module\": [\n\t\t268,\n\t\t5\n\t],\n\t\"../pages/maps/maps.module\": [\n\t\t269,\n\t\t4\n\t],\n\t\"../pages/stars/stars.module\": [\n\t\t270,\n\t\t3\n\t],\n\t\"../pages/tabs/tabs.module\": [\n\t\t271,\n\t\t2\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 149;\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 149\n// module chunks = 10","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\nimport { MyApp } from './app.component';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { StatusBar } from '@ionic-native/status-bar';\n\nimport { HttpModule } from '@angular/http'\n\n\n@NgModule({\n declarations: [\n MyApp,\n ],\n imports: [\n BrowserModule,\n HttpModule,\n IonicModule.forRoot(MyApp, {}, \n{\n links: [\n { loadChildren: '../pages/baidumap/baidumap.module#BaiduMapPageModule', name: 'BaiduMapPage', segment: 'baidumap', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/bookstore/bookstore.module#BookstorePageModule', name: 'BookstorePage', segment: 'bookstore', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/calls/calls.module#CallsPageModule', name: 'CallsPage', segment: 'calls', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/film/film.module#FilmPageModule', name: 'FilmPage', segment: 'film', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/film-detail/film-detail.module#FilmDetailPageModule', name: 'FilmDetailPage', segment: 'film-detail', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/gaodemap/gaodemap.module#GaodeMapPageModule', name: 'GaodeMapPage', segment: 'gaodemap', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/googlemap/googlemap.module#GoogleMapPageModule', name: 'GoogleMapPage', segment: 'googlemap', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/maps/maps.module#MapsPageModule', name: 'MapsPage', segment: 'maps', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/stars/stars.module#StarsPageModule', name: 'StarsPage', segment: 'stars', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/tabs.module#TabsPageModule', name: 'TabsPage', segment: 'tabs', priority: 'low', defaultHistory: [] }\n ]\n})\n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n ],\n providers: [\n StatusBar,\n SplashScreen,\n Geolocation,\n {provide: ErrorHandler, useClass: IonicErrorHandler}\n ]\n})\nexport class AppModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component } from '@angular/core';\nimport { Platform } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n rootPage:any = 'TabsPage';\n\n constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {\n platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n statusBar.styleDefault();\n splashScreen.hide();\n });\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/9.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/baidumap/baidumap.module.ts","../../src/pages/baidumap/baidumap.ts"],"names":[],"mappings":"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","file":"9.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { BaiduMapPage } from './baidumap';\n\n@NgModule({\n declarations: [\n BaiduMapPage,\n ],\n imports: [\n IonicPageModule.forChild(BaiduMapPage),\n ],\n exports:[BaiduMapPage]\n})\nexport class BaiduMapPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/baidumap/baidumap.module.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { Geolocation } from '@ionic-native/geolocation';\n/**\n * Generated class for the MapPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n// baidu map\ndeclare var BMap;\ndeclare var BMAP_STATUS_SUCCESS;\n\n@IonicPage()\n@Component({\n selector: 'page-baidumap',\n templateUrl: 'baidumap.html',\n})\nexport class BaiduMapPage {\n\n @ViewChild('map') map_container: ElementRef;\n map: any;//地图对象\n marker: any;//标记\n geolocation1: any;\n myIcon: any;\n\n constructor(private geolocation: Geolocation) {\n this.myIcon = new BMap.Icon(\"assets/icon/favicon.ico\", new BMap.Size(30, 30));\n }\n\n ionViewDidEnter() {\n let map =\n this.map =\n new BMap.Map(\n this.map_container.nativeElement,\n {\n enableMapClick: true,//点击拖拽\n enableScrollWheelZoom: true,//启动滚轮放大缩小,默认禁用\n enableContinuousZoom: true //连续缩放效果,默认禁用\n }\n );//创建地图实例\n\n // map.centerAndZoom(\"广州\",17); //设置城市设置中心和地图显示级别\n // map.addControl(new BMap.MapTypeControl());//地图类型切换\n // map.setCurrentCity(\"广州\"); //设置当前城市\n\n let point = new BMap.Point(113.38028471135, 23.129702256122);//坐标可以通过百度地图坐标拾取器获取\n let marker = new BMap.Marker(point);\n this.map.addOverlay(marker);\n map.centerAndZoom(point, 18);//设置中心和地图显示级别\n\n // let sizeMap = new BMap.Size(10, 80);//显示位置\n // map.addControl(new BMap.NavigationControl());\n\n // let myIcon = new BMap.Icon(\"assets/icon/favicon.ico\", new BMap.Size(300, 157));\n // let marker = this.marker = new BMap.Marker(point, { icon: myIcon });\n // map.addOverlay(marker);\n }\n\n getLocationByBrowser() {\n let geolocation1 = this.geolocation1 = new BMap.Geolocation();\n geolocation1.getCurrentPosition((r) => {\n let mk = this.marker = new BMap.Marker(r.point, { icon: this.myIcon });\n if (geolocation1.getStatus() == BMAP_STATUS_SUCCESS) {\n this.map.addOverlay(mk);\n this.map.panTo(r.point, 16);\n console.log('浏览器定位:您的位置是 ' + r.point.lng + ',' + r.point.lat);\n }\n else {\n alert('failed' + this.geolocation1.getStatus());\n }\n }, { enableHighAccuracy: false })\n }\n\n getLocationByIp() {\n let myCity = new BMap.LocalCity();\n myCity.get(result => {\n let cityName = result.name;\n this.map.setCenter(cityName);\n console.log(\"当前定位城市:\" + cityName);\n });\n }\n getLocationByCity() {\n let city = \"广州\";\n if (city != \"\") {\n this.map.centerAndZoom(city, 16); // 用城市名设置地图中心点\n }\n }\n getLocationByLatLon() {\n let point = new BMap.Point(113.38028471135, 23.129702256122);\n let marker = this.marker = new BMap.Marker(point, { icon: this.myIcon });\n this.map.addOverlay(marker);\n this.map.centerAndZoom(point, 16);\n }\n getLocation() {\n this.geolocation.getCurrentPosition().then((resp) => {\n let locationPoint = new BMap.Point(resp.coords.longitude, resp.coords.latitude);\n let convertor = new BMap.Convertor();\n let pointArr = [];\n pointArr.push(locationPoint);\n convertor.translate(pointArr, 1, 5, (data) => {\n if (data.status === 0) {\n let marker = this.marker = new BMap.Marker(data.points[0], { icon: this.myIcon });\n this.map.panTo(data.points[0]);\n marker.setPosition(data.points[0]);\n this.map.addOverlay(marker);\n }\n })\n console.log('GPS定位:您的位置是 ' + resp.coords.longitude + ',' + resp.coords.latitude);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/baidumap/baidumap.ts"],"sourceRoot":""} -------------------------------------------------------------------------------- /.sourcemaps/0.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../src/pages/calls/calls.module.ts","../../src/pages/calls/calls.ts","../../node_modules/rxjs/add/observable/of.js","../../node_modules/rxjs/observable/of.js","../../node_modules/rxjs/add/operator/delay.js","../../node_modules/rxjs/operator/delay.js","../../node_modules/rxjs/scheduler/async.js","../../node_modules/rxjs/scheduler/AsyncAction.js","../../node_modules/rxjs/scheduler/Action.js","../../node_modules/rxjs/scheduler/AsyncScheduler.js","../../node_modules/rxjs/Scheduler.js","../../node_modules/rxjs/util/isDate.js","../../node_modules/rxjs/Notification.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAWpC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAlB,eAAe;IAT3B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,yDAAS;SACV;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,yDAAS,CAAC;SACpC;QACD,OAAO,EAAC,CAAC,yDAAS,CAAC;KACpB,CAAC;GACW,eAAe,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;;;;;ACbqB;AACmB;AAEpC;AACC;AAEjC;;;;;GAKG;AAOH,IAAa,SAAS;IAEpB,mBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IAEtE,CAAC;IAED,kCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IAC1C,CAAC;IACD,4BAAQ,GAAR;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAChC,CAAC;IAEH,gBAAC;AAAD,CAAC;AAbY,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cAGsE;AAWvE;SAbY,SAAS,e;;;;;;;;AClBtB;AACA;AACA;AACA;AACA,8B;;;;;;;;ACJA;AACA;AACA;AACA,8B;;;;;;;;ACHA;AACA;AACA;AACA;AACA,iC;;;;;;;;ACJA;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA,kDAAkD;AAClD,0CAA0C;AAC1C;AACA;AACA,SAAS;AACT,SAAS;AACT;AACA,WAAW,YAAY;AACvB;AACA,WAAW,UAAU;AACrB;AACA,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA,+BAA+B,2BAA2B;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,iC;;;;;;;;ACtIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,WAAW;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;AC9CA;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,WAAW;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,WAAW;AAC1C;AACA;AACA;AACA,+BAA+B,WAAW;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,uC;;;;;;;;AC7IA;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA,uCAAuC,gBAAgB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,EAAE;AACjB;AACA,eAAe,OAAO;AACtB;AACA,gBAAgB;AAChB;AACA;AACA,+BAA+B,WAAW;AAC1C;AACA;AACA;AACA,CAAC;AACD;AACA,kC;;;;;;;;AC3CA;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,kCAAkC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,0C;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,aAAa;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,qBAAqB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,mCAAmC;AAClD;AACA,eAAe,OAAO;AACtB;AACA,eAAe,EAAE;AACjB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;AACA,+BAA+B,WAAW;AAC1C;AACA;AACA,uDAAuD,oBAAoB;AAC3E;AACA,CAAC;AACD;AACA,qC;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACLA;AACA;AACA;AACA,mDAAmD,iBAAiB;AACpE;AACA,SAAS,kBAAkB,GAAG,oBAAoB,GAAG,gBAAgB;AACrE;AACA;AACA;AACA;AACA,SAAS;AACT,SAAS;AACT,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,eAAe;AAClC;AACA,eAAe,yBAAyB;AACxC,eAAe,yBAAyB;AACxC,eAAe,iBAAiB;AAChC,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,kCAAkC;AACjD;AACA,eAAe,yBAAyB;AACxC,eAAe,iBAAiB;AAChC,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,EAAE;AACjB,gBAAgB,gBAAgB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,IAAI;AACnB,gBAAgB,gBAAgB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,wC","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { CallsPage } from './calls';\n\n@NgModule({\n declarations: [\n CallsPage,\n ],\n imports: [\n IonicPageModule.forChild(CallsPage),\n ],\n exports:[CallsPage]\n})\nexport class CallsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/calls/calls.module.ts","import { Component,OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { Observable } from 'rxjs/Observable';\nimport 'rxjs/add/observable/of';\nimport 'rxjs/add/operator/delay';\n\n/**\n * Generated class for the CallsPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-calls',\n templateUrl: 'calls.html'\n})\nexport class CallsPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CallsPage');\n }\n showFilm(){\n this.navCtrl.push('FilmPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/calls/calls.ts","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar of_1 = require('../../observable/of');\nObservable_1.Observable.of = of_1.of;\n//# sourceMappingURL=of.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/add/observable/of.js\n// module id = 275\n// module chunks = 0","\"use strict\";\nvar ArrayObservable_1 = require('./ArrayObservable');\nexports.of = ArrayObservable_1.ArrayObservable.of;\n//# sourceMappingURL=of.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/observable/of.js\n// module id = 276\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar delay_1 = require('../../operator/delay');\nObservable_1.Observable.prototype.delay = delay_1.delay;\n//# sourceMappingURL=delay.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/add/operator/delay.js\n// module id = 277\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar async_1 = require('../scheduler/async');\nvar isDate_1 = require('../util/isDate');\nvar Subscriber_1 = require('../Subscriber');\nvar Notification_1 = require('../Notification');\n/**\n * Delays the emission of items from the source Observable by a given timeout or\n * until a given Date.\n *\n * Time shifts each item by some specified amount of\n * milliseconds.\n *\n * \n *\n * If the delay argument is a Number, this operator time shifts the source\n * Observable by that amount of time expressed in milliseconds. The relative\n * time intervals between the values are preserved.\n *\n * If the delay argument is a Date, this operator time shifts the start of the\n * Observable execution until the given date occurs.\n *\n * @example Delay each click by one second\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var delayedClicks = clicks.delay(1000); // each click emitted after 1 second\n * delayedClicks.subscribe(x => console.log(x));\n *\n * @example Delay all clicks until a future date happens\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var date = new Date('March 15, 2050 12:00:00'); // in the future\n * var delayedClicks = clicks.delay(date); // click emitted only after that date\n * delayedClicks.subscribe(x => console.log(x));\n *\n * @see {@link debounceTime}\n * @see {@link delayWhen}\n *\n * @param {number|Date} delay The delay duration in milliseconds (a `number`) or\n * a `Date` until which the emission of the source items is delayed.\n * @param {Scheduler} [scheduler=async] The IScheduler to use for\n * managing the timers that handle the time-shift for each item.\n * @return {Observable} An Observable that delays the emissions of the source\n * Observable by the specified timeout or Date.\n * @method delay\n * @owner Observable\n */\nfunction delay(delay, scheduler) {\n if (scheduler === void 0) { scheduler = async_1.async; }\n var absoluteDelay = isDate_1.isDate(delay);\n var delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);\n return this.lift(new DelayOperator(delayFor, scheduler));\n}\nexports.delay = delay;\nvar DelayOperator = (function () {\n function DelayOperator(delay, scheduler) {\n this.delay = delay;\n this.scheduler = scheduler;\n }\n DelayOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n };\n return DelayOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar DelaySubscriber = (function (_super) {\n __extends(DelaySubscriber, _super);\n function DelaySubscriber(destination, delay, scheduler) {\n _super.call(this, destination);\n this.delay = delay;\n this.scheduler = scheduler;\n this.queue = [];\n this.active = false;\n this.errored = false;\n }\n DelaySubscriber.dispatch = function (state) {\n var source = state.source;\n var queue = source.queue;\n var scheduler = state.scheduler;\n var destination = state.destination;\n while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {\n queue.shift().notification.observe(destination);\n }\n if (queue.length > 0) {\n var delay_1 = Math.max(0, queue[0].time - scheduler.now());\n this.schedule(state, delay_1);\n }\n else {\n source.active = false;\n }\n };\n DelaySubscriber.prototype._schedule = function (scheduler) {\n this.active = true;\n this.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n source: this, destination: this.destination, scheduler: scheduler\n }));\n };\n DelaySubscriber.prototype.scheduleNotification = function (notification) {\n if (this.errored === true) {\n return;\n }\n var scheduler = this.scheduler;\n var message = new DelayMessage(scheduler.now() + this.delay, notification);\n this.queue.push(message);\n if (this.active === false) {\n this._schedule(scheduler);\n }\n };\n DelaySubscriber.prototype._next = function (value) {\n this.scheduleNotification(Notification_1.Notification.createNext(value));\n };\n DelaySubscriber.prototype._error = function (err) {\n this.errored = true;\n this.queue = [];\n this.destination.error(err);\n };\n DelaySubscriber.prototype._complete = function () {\n this.scheduleNotification(Notification_1.Notification.createComplete());\n };\n return DelaySubscriber;\n}(Subscriber_1.Subscriber));\nvar DelayMessage = (function () {\n function DelayMessage(time, notification) {\n this.time = time;\n this.notification = notification;\n }\n return DelayMessage;\n}());\n//# sourceMappingURL=delay.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/operator/delay.js\n// module id = 278\n// module chunks = 0","\"use strict\";\nvar AsyncAction_1 = require('./AsyncAction');\nvar AsyncScheduler_1 = require('./AsyncScheduler');\n/**\n *\n * Async Scheduler\n *\n * Schedule task as if you used setTimeout(task, duration)\n *\n * `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript\n * event loop queue. It is best used to delay tasks in time or to schedule tasks repeating\n * in intervals.\n *\n * If you just want to \"defer\" task, that is to perform it right after currently\n * executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`),\n * better choice will be the {@link asap} scheduler.\n *\n * @example Use async scheduler to delay task\n * const task = () => console.log('it works!');\n *\n * Rx.Scheduler.async.schedule(task, 2000);\n *\n * // After 2 seconds logs:\n * // \"it works!\"\n *\n *\n * @example Use async scheduler to repeat task in intervals\n * function task(state) {\n * console.log(state);\n * this.schedule(state + 1, 1000); // `this` references currently executing Action,\n * // which we reschedule with new state and delay\n * }\n *\n * Rx.Scheduler.async.schedule(task, 3000, 0);\n *\n * // Logs:\n * // 0 after 3s\n * // 1 after 4s\n * // 2 after 5s\n * // 3 after 6s\n *\n * @static true\n * @name async\n * @owner Scheduler\n */\nexports.async = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction);\n//# sourceMappingURL=async.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/scheduler/async.js\n// module id = 279\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar root_1 = require('../util/root');\nvar Action_1 = require('./Action');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar AsyncAction = (function (_super) {\n __extends(AsyncAction, _super);\n function AsyncAction(scheduler, work) {\n _super.call(this, scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n AsyncAction.prototype.schedule = function (state, delay) {\n if (delay === void 0) { delay = 0; }\n if (this.closed) {\n return this;\n }\n // Always replace the current state with the new state.\n this.state = state;\n // Set the pending flag indicating that this action has been scheduled, or\n // has recursively rescheduled itself.\n this.pending = true;\n var id = this.id;\n var scheduler = this.scheduler;\n //\n // Important implementation note:\n //\n // Actions only execute once by default, unless rescheduled from within the\n // scheduled callback. This allows us to implement single and repeat\n // actions via the same code path, without adding API surface area, as well\n // as mimic traditional recursion but across asynchronous boundaries.\n //\n // However, JS runtimes and timers distinguish between intervals achieved by\n // serial `setTimeout` calls vs. a single `setInterval` call. An interval of\n // serial `setTimeout` calls can be individually delayed, which delays\n // scheduling the next `setTimeout`, and so on. `setInterval` attempts to\n // guarantee the interval callback will be invoked more precisely to the\n // interval period, regardless of load.\n //\n // Therefore, we use `setInterval` to schedule single and repeat actions.\n // If the action reschedules itself with the same delay, the interval is not\n // canceled. If the action doesn't reschedule, or reschedules with a\n // different delay, the interval will be canceled after scheduled callback\n // execution.\n //\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.delay = delay;\n // If this action has already an async Id, don't request a new one.\n this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n return this;\n };\n AsyncAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) { delay = 0; }\n return root_1.root.setInterval(scheduler.flush.bind(scheduler, this), delay);\n };\n AsyncAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) { delay = 0; }\n // If this action is rescheduled with the same delay time, don't clear the interval id.\n if (delay !== null && this.delay === delay && this.pending === false) {\n return id;\n }\n // Otherwise, if the action's delay time is different from the current delay,\n // or the action has been rescheduled before it's executed, clear the interval id\n return root_1.root.clearInterval(id) && undefined || undefined;\n };\n /**\n * Immediately executes this action and the `work` it contains.\n * @return {any}\n */\n AsyncAction.prototype.execute = function (state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n var error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n // Dequeue if the action didn't reschedule itself. Don't call\n // unsubscribe(), because the action could reschedule later.\n // For example:\n // ```\n // scheduler.schedule(function doWork(counter) {\n // /* ... I'm a busy worker bee ... */\n // var originalAction = this;\n // /* wait 100ms before rescheduling the action */\n // setTimeout(function () {\n // originalAction.schedule(counter + 1);\n // }, 100);\n // }, 1000);\n // ```\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n };\n AsyncAction.prototype._execute = function (state, delay) {\n var errored = false;\n var errorValue = undefined;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = !!e && e || new Error(e);\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n };\n AsyncAction.prototype._unsubscribe = function () {\n var id = this.id;\n var scheduler = this.scheduler;\n var actions = scheduler.actions;\n var index = actions.indexOf(this);\n this.work = null;\n this.delay = null;\n this.state = null;\n this.pending = false;\n this.scheduler = null;\n if (index !== -1) {\n actions.splice(index, 1);\n }\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n };\n return AsyncAction;\n}(Action_1.Action));\nexports.AsyncAction = AsyncAction;\n//# sourceMappingURL=AsyncAction.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/scheduler/AsyncAction.js\n// module id = 280\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscription_1 = require('../Subscription');\n/**\n * A unit of work to be executed in a {@link Scheduler}. An action is typically\n * created from within a Scheduler and an RxJS user does not need to concern\n * themselves about creating and manipulating an Action.\n *\n * ```ts\n * class Action extends Subscription {\n * new (scheduler: Scheduler, work: (state?: T) => void);\n * schedule(state?: T, delay: number = 0): Subscription;\n * }\n * ```\n *\n * @class Action\n */\nvar Action = (function (_super) {\n __extends(Action, _super);\n function Action(scheduler, work) {\n _super.call(this);\n }\n /**\n * Schedules this action on its parent Scheduler for execution. May be passed\n * some context object, `state`. May happen at some point in the future,\n * according to the `delay` parameter, if specified.\n * @param {T} [state] Some contextual data that the `work` function uses when\n * called by the Scheduler.\n * @param {number} [delay] Time to wait before executing the work, where the\n * time unit is implicit and defined by the Scheduler.\n * @return {void}\n */\n Action.prototype.schedule = function (state, delay) {\n if (delay === void 0) { delay = 0; }\n return this;\n };\n return Action;\n}(Subscription_1.Subscription));\nexports.Action = Action;\n//# sourceMappingURL=Action.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/scheduler/Action.js\n// module id = 281\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Scheduler_1 = require('../Scheduler');\nvar AsyncScheduler = (function (_super) {\n __extends(AsyncScheduler, _super);\n function AsyncScheduler() {\n _super.apply(this, arguments);\n this.actions = [];\n /**\n * A flag to indicate whether the Scheduler is currently executing a batch of\n * queued actions.\n * @type {boolean}\n */\n this.active = false;\n /**\n * An internal ID used to track the latest asynchronous task such as those\n * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and\n * others.\n * @type {any}\n */\n this.scheduled = undefined;\n }\n AsyncScheduler.prototype.flush = function (action) {\n var actions = this.actions;\n if (this.active) {\n actions.push(action);\n return;\n }\n var error;\n this.active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift()); // exhaust the scheduler queue\n this.active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AsyncScheduler;\n}(Scheduler_1.Scheduler));\nexports.AsyncScheduler = AsyncScheduler;\n//# sourceMappingURL=AsyncScheduler.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/scheduler/AsyncScheduler.js\n// module id = 282\n// module chunks = 0","\"use strict\";\n/**\n * An execution context and a data structure to order tasks and schedule their\n * execution. Provides a notion of (potentially virtual) time, through the\n * `now()` getter method.\n *\n * Each unit of work in a Scheduler is called an {@link Action}.\n *\n * ```ts\n * class Scheduler {\n * now(): number;\n * schedule(work, delay?, state?): Subscription;\n * }\n * ```\n *\n * @class Scheduler\n */\nvar Scheduler = (function () {\n function Scheduler(SchedulerAction, now) {\n if (now === void 0) { now = Scheduler.now; }\n this.SchedulerAction = SchedulerAction;\n this.now = now;\n }\n /**\n * Schedules a function, `work`, for execution. May happen at some point in\n * the future, according to the `delay` parameter, if specified. May be passed\n * some context object, `state`, which will be passed to the `work` function.\n *\n * The given arguments will be processed an stored as an Action object in a\n * queue of actions.\n *\n * @param {function(state: ?T): ?Subscription} work A function representing a\n * task, or some unit of work to be executed by the Scheduler.\n * @param {number} [delay] Time to wait before executing the work, where the\n * time unit is implicit and defined by the Scheduler itself.\n * @param {T} [state] Some contextual data that the `work` function uses when\n * called by the Scheduler.\n * @return {Subscription} A subscription in order to be able to unsubscribe\n * the scheduled work.\n */\n Scheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) { delay = 0; }\n return new this.SchedulerAction(this, work).schedule(state, delay);\n };\n Scheduler.now = Date.now ? Date.now : function () { return +new Date(); };\n return Scheduler;\n}());\nexports.Scheduler = Scheduler;\n//# sourceMappingURL=Scheduler.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/Scheduler.js\n// module id = 283\n// module chunks = 0","\"use strict\";\nfunction isDate(value) {\n return value instanceof Date && !isNaN(+value);\n}\nexports.isDate = isDate;\n//# sourceMappingURL=isDate.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/util/isDate.js\n// module id = 284\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('./Observable');\n/**\n * Represents a push-based event or value that an {@link Observable} can emit.\n * This class is particularly useful for operators that manage notifications,\n * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and\n * others. Besides wrapping the actual delivered value, it also annotates it\n * with metadata of, for instance, what type of push message it is (`next`,\n * `error`, or `complete`).\n *\n * @see {@link materialize}\n * @see {@link dematerialize}\n * @see {@link observeOn}\n *\n * @class Notification\n */\nvar Notification = (function () {\n function Notification(kind, value, error) {\n this.kind = kind;\n this.value = value;\n this.error = error;\n this.hasValue = kind === 'N';\n }\n /**\n * Delivers to the given `observer` the value wrapped by this Notification.\n * @param {Observer} observer\n * @return\n */\n Notification.prototype.observe = function (observer) {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n case 'E':\n return observer.error && observer.error(this.error);\n case 'C':\n return observer.complete && observer.complete();\n }\n };\n /**\n * Given some {@link Observer} callbacks, deliver the value represented by the\n * current Notification to the correctly corresponding callback.\n * @param {function(value: T): void} next An Observer `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n Notification.prototype.do = function (next, error, complete) {\n var kind = this.kind;\n switch (kind) {\n case 'N':\n return next && next(this.value);\n case 'E':\n return error && error(this.error);\n case 'C':\n return complete && complete();\n }\n };\n /**\n * Takes an Observer or its individual callback functions, and calls `observe`\n * or `do` methods accordingly.\n * @param {Observer|function(value: T): void} nextOrObserver An Observer or\n * the `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n Notification.prototype.accept = function (nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n return this.observe(nextOrObserver);\n }\n else {\n return this.do(nextOrObserver, error, complete);\n }\n };\n /**\n * Returns a simple Observable that just delivers the notification represented\n * by this Notification instance.\n * @return {any}\n */\n Notification.prototype.toObservable = function () {\n var kind = this.kind;\n switch (kind) {\n case 'N':\n return Observable_1.Observable.of(this.value);\n case 'E':\n return Observable_1.Observable.throw(this.error);\n case 'C':\n return Observable_1.Observable.empty();\n }\n throw new Error('unexpected notification kind value');\n };\n /**\n * A shortcut to create a Notification instance of the type `next` from a\n * given value.\n * @param {T} value The `next` value.\n * @return {Notification} The \"next\" Notification representing the\n * argument.\n */\n Notification.createNext = function (value) {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return this.undefinedValueNotification;\n };\n /**\n * A shortcut to create a Notification instance of the type `error` from a\n * given error.\n * @param {any} [err] The `error` error.\n * @return {Notification} The \"error\" Notification representing the\n * argument.\n */\n Notification.createError = function (err) {\n return new Notification('E', undefined, err);\n };\n /**\n * A shortcut to create a Notification instance of the type `complete`.\n * @return {Notification} The valueless \"complete\" Notification.\n */\n Notification.createComplete = function () {\n return this.completeNotification;\n };\n Notification.completeNotification = new Notification('C');\n Notification.undefinedValueNotification = new Notification('N', undefined);\n return Notification;\n}());\nexports.Notification = Notification;\n//# sourceMappingURL=Notification.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/rxjs/Notification.js\n// module id = 285\n// module chunks = 0"],"sourceRoot":""} --------------------------------------------------------------------------------