Skip to content

Commit 06fc323

Browse files
committed
Minor updates
1 parent 6e3b861 commit 06fc323

File tree

8 files changed

+239
-209
lines changed

8 files changed

+239
-209
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,7 @@ Options for the FullscreenControl.
106106

107107
## Related Projects
108108

109-
**Open Azure Maps Web SDK modules**
110-
111-
* [Azure Maps Animation module](https://github.com/Azure-Samples/azure-maps-animations)
112-
* [Azure Maps Geolocation Control module](https://github.com/Azure-Samples/azure-maps-geolocation-control)
113-
* [Azure Maps Selection Control module](https://github.com/Azure-Samples/azure-maps-selection-control)
114-
* [Azure Maps Sync Map module](https://github.com/Azure-Samples/azure-maps-sync-maps)
115-
* [Azure Maps Services UI module](https://github.com/Azure-Samples/azure-maps-services-ui)
116-
117-
**Additional projects**
118-
109+
* [Azure Maps Web SDK Open modules](https://github.com/microsoft/Maps/blob/master/AzureMaps.md#open-web-sdk-modules) - A collection of open source modules that extend the Azure Maps Web SDK.
119110
* [Azure Maps Web SDK Samples](https://github.com/Azure-Samples/AzureMapsCodeSamples)
120111
* [Azure Maps Gov Cloud Web SDK Samples](https://github.com/Azure-Samples/AzureMapsGovCloudCodeSamples)
121112
* [Azure Maps & Azure Active Directory Samples](https://github.com/Azure-Samples/Azure-Maps-AzureAD-Samples)

dist/azure-maps-fullscreen-control.js

Lines changed: 108 additions & 93 deletions
Large diffs are not rendered by default.

dist/azure-maps-fullscreen-control.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/Fullscreen control options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script src="https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.js"></script>
1616

1717
<!-- Add reference to the fullscreen control module. -->
18-
<script src="../dist/azure-maps-fullscreen-control.js"></script>
18+
<script src="../dist/azure-maps-fullscreen-control.min.js"></script>
1919

2020
<script type='text/javascript'>
2121
var map, fullscreenControl;

examples/Fullscreen control.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//Add your Azure Maps key to the map SDK. Get an Azure Maps key at https://azure.com/maps. NOTE: The primary key should be used as the key.
2929
authOptions: {
3030
authType: 'subscriptionKey',
31-
subscriptionKey: '<Your Azure Maps Key>'
31+
subscriptionKey: 'tTk1JVEaeNvDkxxnxHm9cYaCvqlOq1u-fXTvyXn2XkA'
3232
}
3333
});
3434

src/control/FullscreenControl.ts

Lines changed: 120 additions & 96 deletions
Large diffs are not rendered by default.

src/extensions/EventManager.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FullscreenControl, FullscreenControlEvents } from '../control';
1+
import { FullscreenControl } from '../control';
22

33
/**
44
* This module partially defines the map control.
@@ -20,15 +20,15 @@ declare module "azure-maps-control" {
2020
* @param target The `fullscreenchanged` to add the event for.
2121
* @param callback The event handler callback.
2222
*/
23-
add(eventType: "fullscreenchanged", target: FullscreenControl, callback: (e: FullscreenControlEvents) => void): void;
23+
add(eventType: "fullscreenchanged", target: FullscreenControl, callback: (e: boolean) => void): void;
2424

2525
/**
2626
* Adds an event to the `fullscreenchanged` once.
2727
* @param eventType The event name.
2828
* @param target The `fullscreenchanged` to add the event for.
2929
* @param callback The event handler callback.
3030
*/
31-
addOnce(eventType: "fullscreenchanged", target: FullscreenControl, callback: (e: FullscreenControlEvents) => void): void;
31+
addOnce(eventType: "fullscreenchanged", target: FullscreenControl, callback: (e: boolean) => void): void;
3232

3333

3434
/**
@@ -37,6 +37,6 @@ declare module "azure-maps-control" {
3737
* @param target The `fullscreenchanged` to remove the event for.
3838
* @param callback The event handler callback.
3939
*/
40-
remove(eventType: string, target: FullscreenControl, callback: (e?: any) => void): void;
40+
remove(eventType: string, target: FullscreenControl, callback: (e: boolean) => void): void;
4141
}
4242
}

typings/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ declare module "azure-maps-control" {
8686
* @param target The `fullscreenchanged` to add the event for.
8787
* @param callback The event handler callback.
8888
*/
89-
add(eventType: "fullscreenchanged", target: atlas.control.FullscreenControl, callback: (e: atlas.control.FullscreenControlEvents) => void): void;
89+
add(eventType: "fullscreenchanged", target: atlas.control.FullscreenControl, callback: (e: boolean) => void): void;
9090

9191
/**
9292
* Adds an event to the `fullscreenchanged` once.
9393
* @param eventType The event name.
9494
* @param target The `fullscreenchanged` to add the event for.
9595
* @param callback The event handler callback.
9696
*/
97-
addOnce(eventType: "fullscreenchanged", target: atlas.control.FullscreenControl, callback: (e: atlas.control.FullscreenControlEvents) => void): void;
97+
addOnce(eventType: "fullscreenchanged", target: atlas.control.FullscreenControl, callback: (e: boolean) => void): void;
9898

9999

100100
/**
@@ -103,7 +103,7 @@ declare module "azure-maps-control" {
103103
* @param target The `fullscreenchanged` to remove the event for.
104104
* @param callback The event handler callback.
105105
*/
106-
remove(eventType: string, target: atlas.control.FullscreenControl, callback: (e?: any) => void): void;
106+
remove(eventType: string, target: atlas.control.FullscreenControl, callback: (e: boolean) => void): void;
107107
}
108108
}
109109

0 commit comments

Comments
 (0)