Added Google Maps to MapEditor as the default map.
Added a button for selection between Google Maps and Leaflet based map.
Refactored to code to be able to handle modifications on different maps in the same editing session.
* Added Google Maps to MapEditor as the default map.
* Added a button for selection between Google Maps and Leaflet based map.
* Refactored to code to be able to handle modifications on different maps in the same editing session.
I would remove this and add a permanent street view cover layer to the map so the available locations will be always shown. (This is the same how the competitor does.)
I would remove this and add a permanent street view cover layer to the map so the available locations will be always shown. (This is the same how the competitor does.)
Reference: https://developers.google.com/maps/documentation/javascript/reference/street-view#StreetViewCoverageLayer
Example:
```js
var streetViewCover = new google.maps.StreetViewCoverageLayer();
streetViewCover.setMap(GMapWrapper.map);
```

PNG files (as these are binaries) should be stored with git-lfs. I think you don't have git-lfs on your machine, otherwise they would have been committed that way.
Rewriting the history and force push is neccessary otherwise binaries would still be stored in the index.
PNG files (as these are binaries) should be stored with git-lfs. I think you don't have git-lfs on your machine, otherwise they would have been committed that way.
Example if files are stored with LFS: https://gitea.e5tv.hu/esoko/mapguesser/compare/develop...git-lfs-example
To fix this, the commits should be created again on this branch after git-lfs is installed.
```bash
git reset --hard origin/develop
git cherry-pick --no-commit 1a49b365
git restore --staged -- public/static/img/markers/
git add public/static/img/markers/
git commit
# and cherry pick the remaining commits
git push --force
```
Rewriting the history and force push is neccessary otherwise binaries would still be stored in the index.
It is a very good feature because it seems that the editor is easier to use with Google Maps. Maybe it won't be neccessary to keep the Leaflet version at all so it might be removed in the future.
It is a very good feature because it seems that the editor is easier to use with Google Maps. Maybe it won't be neccessary to keep the Leaflet version at all so it might be removed in the future.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
@@ -417,0 +507,4 @@zoomControlOptions: {position: google.maps.ControlPosition.LEFT_BOTTOM},streetViewControl: true,I would remove this and add a permanent street view cover layer to the map so the available locations will be always shown. (This is the same how the competitor does.)
Reference: https://developers.google.com/maps/documentation/javascript/reference/street-view#StreetViewCoverageLayer
Example:
I personally consider the permanent street view cover layer disturbing. Can we just add another switch to toggle it?
For me it's OK, then it can be done later.
PNG files (as these are binaries) should be stored with git-lfs. I think you don't have git-lfs on your machine, otherwise they would have been committed that way.
Example if files are stored with LFS: https://gitea.e5tv.hu/esoko/mapguesser/compare/develop...git-lfs-example
To fix this, the commits should be created again on this branch after git-lfs is installed.
Rewriting the history and force push is neccessary otherwise binaries would still be stored in the index.
It is a very good feature because it seems that the editor is easier to use with Google Maps. Maybe it won't be neccessary to keep the Leaflet version at all so it might be removed in the future.
ac9b106c65to09d1f819a609d1f819a6toef8ad69506