- Module created
- Corrected Google XYZ url to use multiples servers {0-3}
- Added scroller to resize the layout
- Renamed some ids and classes
- Fixed some css on small devices
- Fixed resize action on touch devices
- Changed panorama background color
- Added icon when no results are found
- Some CSS improvement
- More precise coordinates on drop
- Fixed handler visibility
- Added Control size toggler to show in compact mode
- Changed Street View map style (to cyan)
- Added min-height restriction to the map when Street View is active and resizable is enabled
- Better anchor point position in Pegman Feature
- Added defaultMapSize option
- Added CSS transitions on resize
- Added debounce refreh while resizing layout
- Updated example CDN
- Fixed bug when dragging pegman on Ol5
- Improved compensation of the viewport top and left offsets, when it's not 100% width and/or height
- Fixed minor css
- Added customizable "target". If necessary, the control can be rendered outside the map. This allows a customizable workaround for Ol5, because the default target ("ol-overlaycontainer-stopevent") messes up the events in the control.
- Added Option property 'i18n' to allow custom translations
- Fixed some properties in interface Options (required to optional)
- Improved README
- Removed some peerDependencies
- Moved some devDependencies to dependencies
npm audit fix
- Improved typescript and rollup configuration
- Added "watch" script
- Updated dependencies
- Added Source Maps
- Updated dependencies
- Fixed resizable scrollbar (css)
- Added .gitattributes
- Fixed example link on README
- Refactored code: class extends class ol.control.Control (breaking changes)
- Added method
getStreetViewPanorama
to allow get the Google Maps Panorama instance - Added/fixed method
showStreetView
to initialize panorama mode programatically - Added event 'loadPano'
- Added example to add custom icon on the OpenLayers map and in the Street View Panorama
- Added mapsSize 'hidden' to allow Street View on full screen mode
- Removed interactjs from dependencies
- Ol7 compatibility
- Updated CDNs in examples
- Fixed panorama 'position_changed' event: prevent multiples fires at the same time
- Fixed panorama 'pov_changed' event: prevent triggers when no heading is changed
- Fixed typescript events
- Some minimal improvements in Documentation
- Example refactoring
- Added LICENSE file
- Added methods
getPegmanLayer
andgetStreetViewLayer
- Removed unnecesary
Select
interaction - Added
zoomOnInit
option
- Added
autoLoadGoogleMaps
attribute andinit
method to allow loading the Google Maps Library externally. - Some internal refactoring to use
setMap
method
- Fixed bug on manual resizing the map using the scroll handler (missing css flex property)
- Added
ol-control
class to primary button - Updated dependencies
- Some refactoring on rollup.config globals
- Fix events type
- Added enums
- Improved setMap (set to @public, allow null value to clean the control)
- Improved comments and documentation
- Fix umd export (missing enums)
- Updated dependencies
- Removed "browser" attribute from package.json
- Added "type" module attribute to package.json
- Improved rollup and ts configs
- Fixed bug that happened when pegman was moved outside the draggable area and later reentered
- Added ".js" extension on imports to work better with webpack 5 default config
- Lib is builded with es2017 target (dropped esnext)
- Removed babel deps
- Added header to dist files
- Added enums to the umd version
- Added pegman
transparent
mode - Added
minZoom
option
- Added
touchmove
to animate the direction of pegman in touch devices - Small fix to always center the pegman body below the cursor
- Some scss improvements
- Fix
minZoom
param on init
- Added
radius
option to allow customize the max displacement of Street View to retrieve the closest panorama - Added
updatePegmanToClosestPanorama
option to allow update Pegman accordingly - Force default StreetView zoom to
1
- Updated to Ol8
- Updated dev dependencies
- Removed all document.body references to add/remove css classes. Now all of these are added in the map container or directly to the control button without polluting the document's body and preventing errors while using html components
- Improved cleanup and events when using
setMap(null)
method - Prevent auto load Google Maps library multiple times if more than one instance is created
- Minor scss refactoring
- Improved example to allow set and unset the control map
- Added ol9 to the example
- Updated to Ol10
- Updated multiples deDependencies
- Replaced
google-maps-loader
with@googlemaps/js-api-loader
- Added
googleMapsLoader
attribute to allow loading another google maps libraries. Now, the module only load the "maps" library. If you want to use themarker
library, for example, you have to import it manually (see examples). - Replaced example's icon (because of a 404 error)