Skip to content

Commit

Permalink
Improving variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
rugoncalves committed Oct 30, 2023
1 parent 0afa787 commit 9048e5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Providers/Maps/Google/DrawingTools/AbstractDrawShape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Provider.Maps.Google.DrawingTools {
eventName: string,
shapeCoordinates: OSFramework.Maps.OSStructures.OSMap.OSShapeCoordinates
) => {
const dtparams: OSFramework.Maps.DrawingTools.IDrawingToolsEventParams =
const dtParams: OSFramework.Maps.DrawingTools.IDrawingToolsEventParams =
{
uniqueId: _shape.uniqueId,
isNewElement: false,
Expand All @@ -45,7 +45,7 @@ namespace Provider.Maps.Google.DrawingTools {
// EventName
this.completedToolEventName,
// The extra parameters, uniqueId and isNewElement set to false indicating that the element is not new
dtparams
dtParams
);
}
);
Expand Down
4 changes: 2 additions & 2 deletions src/Providers/Maps/Google/FileLayer/FileLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace Provider.Maps.Google.FileLayer {
this.provider.addListener(
'click',
(event: google.maps.KmlMouseEvent) => {
const flparams: OSFramework.Maps.FileLayer.IFileLayerEventParams =
const flParams: OSFramework.Maps.FileLayer.IFileLayerEventParams =
{
// Coordinates from the event that was triggered (by the click)
coordinates: JSON.stringify({
Expand All @@ -53,7 +53,7 @@ namespace Provider.Maps.Google.FileLayer {
.OnClick,
undefined,
// Extra parameters to be passed as arguments on the callback of the OnClick event handler
flparams
flParams
);
}
);
Expand Down
4 changes: 2 additions & 2 deletions src/Providers/Maps/Google/SearchPlaces/SearchPlaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ namespace Provider.Maps.Google.SearchPlaces {
Constants.SearchPlaces.Events.OnPlaceSelect,
() => {
const place = this._provider.getPlace();
const spparams: OSFramework.Maps.SearchPlaces.ISearchPlacesEventParams =
const spParams: OSFramework.Maps.SearchPlaces.ISearchPlacesEventParams =
{
name: place.name,
coordinates: JSON.stringify({
Expand All @@ -196,7 +196,7 @@ namespace Provider.Maps.Google.SearchPlaces {
this, // searchPlacesObj
Constants.SearchPlaces.Events.OnPlaceSelect, // event name (eventInfo)
// Extra parameters to be passed as arguments on the callback of the OnPlaceSelect event handler
spparams
spParams
);
}
);
Expand Down

0 comments on commit 9048e5a

Please sign in to comment.