question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Markers position in fullscreen mode

See original GitHub issue

Enable fullscreen control and control position with options prop:

const options = {
    fullscreenControl: true,
    fullscreenControlOptions: {
        position: 10
    }    
};

<GoogleMap
    center={this.props.center}
    zoom={this.props.zoom}
    options={options}
    >
    {this.renderMarkers()}
</GoogleMap>

Expected:

  • A React component should render with proper control for fullscreen mode, with markers in the correct position.
  • A click on the fullscreen control should render the component in fullscreen.
  • Markers are correctly positioned while in fullscreen mode.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
istarkovcommented, Jul 20, 2017

@viperfx07 having that I’m not using this feature in any of my projects, I’m not interested to somehow fix it. Its opensource project, you are welcome to fix.

3reactions
viperfx07commented, Jul 20, 2017

Markers are correctly positioned while in fullscreen mode.

still waiting for this to be fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Openlayers map with marker and fullscreen control
I am using OpenLayers 3.5.0 to embed a map in my website, and place a marker overlay at specific coordinates. I've also added...
Read more >
Markers and controls | Mapbox GL JS
A FullscreenControl control contains a button for toggling the map in and out of fullscreen mode. See the requestFullScreen compatibility table for ...
Read more >
Add Native Fullscreen Mode to Your React Leaflet Map with ...
In this lesson, we'll use the Leaflet plugin Leaflet.fullscreen to add native HTML5-based fullscreen mode to a React Leaflet Map.
Read more >
Playback from position marker… - AV Stumpfl
You can use position markers to control playback or locate within a timeline, ... Start presentation ...starts the presentation in fullscreen mode.
Read more >
Fullscreen mode with Control.FullScreen Leaflet plugin
Hi, I trying to add a full screen mode by using the leaflet.fullscreen plugin ... L.control.fullscreen({ position: 'topleft', // change the position of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found