forked from oppia/oppia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace google-map with openStreetMap in map interaction. (oppia#6309)
* Replaced google-map with openStreetMap in interaction. * Changes made after testing UI on mobile devices. * Simple UI changes. * Updated correct depen. URL. * Fixed state navigation issue. * Fixed lint issue. * Added review changes. * Added review changes. * Made some stylistic changes after following a user journey. * Remove googlemaps from node_modules. * Added leaflet type for npm. * made changes in tsconfig.json * Added CSS class.
- Loading branch information
1 parent
11d8137
commit 2812471
Showing
20 changed files
with
261 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<link rel="stylesheet" href="/third_party/static/leaflet-1.4.0/leaflet.css"> | ||
<script src="/third_party/static/leaflet-1.4.0/leaflet.js"></script> | ||
<script src="/third_party/static/angular-ui-leaflet-1.0.3/ui-leaflet.min.no-header.js"></script> | ||
<!-- The angular-simple-logger is a dependency in ui-leaflet angular plugin. --> | ||
<script src="/third_party/static/angular-simple-logger-0.1.7/angular-simple-logger.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 19 additions & 1 deletion
20
extensions/interactions/InteractiveMap/directives/interactive_map_response_directive.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
<img ng-src="<[staticMapUrl]>" style="margin: 3px auto; display: block;"> | ||
<div> | ||
<div class="oppia-overlay-map-response"></div> | ||
<leaflet id="interactiveMapResponse" | ||
defaults="mapOptions.defaults" | ||
lf-center="mapOptions.center" | ||
markers="mapOptions.mapMarkers" | ||
height="150px" | ||
width="150px"> | ||
</leaflet> | ||
</div> | ||
<style> | ||
.oppia-overlay-map-response { | ||
height: 100%; | ||
position: absolute; | ||
width: 100%; | ||
opacity: 0.5; | ||
z-index: 1001; | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.