class_docstr: Abstract base class for map plot models.
  
      
class_docstr_tok: ["Abstract","base","class","for","map","plot","models","."]
code: def __init__(self, *args, **kwargs) -> None:
      from ..models.ranges import Range1d
  
      for r in ("x_range", "y_range"):
          if r in kwargs and not isinstance(kwargs.get(r), Range1d):
              raise ValueError(
                  f"Invalid value for {r!r}, MapPlot ranges may only be Range1d, not data ranges"
              )
      super().__init__(*args, **kwargs)
  
imports: from __future__ import annotations
  import logging
  from ..core.enums import MapType
  from ..core.has_props import abstract
  from ..core.properties import JSON, Bool, Bytes, Enum, Float, Instance, InstanceDefault, Int, Nullable, Override, Required, String
  from ..core.validation import error, warning
  from ..core.validation.errors import INCOMPATIBLE_MAP_RANGE_TYPE, MISSING_GOOGLE_API_KEY, REQUIRED_RANGE
  from ..core.validation.warnings import MISSING_RENDERERS
  from ..model import Model
  from ..models.ranges import Range1d
  from .plots import Plot
label_desc: Use image node_id 1 to create a new MapPlot object from inherited base classes: Plot with example: obj = MapPlot()